I have developed a QGIS processing plugin that has a processing provider of its own. That plugin is working fine. Now I am developing a second plugin and I want to provide it the same provider so that I can have something like this where many algorithms are under Vector Selection Provider:
These two plugins are different and hence I don't want to package them under same plugin but do wants them to have same provider.
So far I have tried giving the second Plugin Provider the same name as first one but I am getting this error:
Error while unloading plugin curve_number_generator
RuntimeError: wrapped C/C++ object of type CurveNumberGeneratorProvider has been deleted Traceback (most recent call last): File "C:/OSGEO4~1/apps/qgis/./python\qgis\utils.py", line 434, in unloadPlugin plugins[packageName].unload() File "C:/Users/abdul/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\curve_number_generator\curve_number_generator.py", line 74, in unload QgsApplication.processingRegistry().removeProvider(self.provider) RuntimeError: wrapped C/C++ object of type CurveNumberGeneratorProvider has been deleted