Skip to content

Commit 427ac10

Browse files
committed
Plugin loading: only load .so files on Linux
I've recently lost some hair chasing mysterious crashes at QGIS exit and finally figured out this was due to an old version of the GRASS plugin that was loaded together with the new version, because the current filter is *.so* . So restrict this to plain *.so extension, which will be consistent with what QgsProviderRegistry::init() does. For more context https://lists.osgeo.org/pipermail/qgis-developer/2018-June/053546.html
1 parent 79ba0ee commit 427ac10

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app/qgspluginregistry.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -484,7 +484,7 @@ void QgsPluginRegistry::restoreSessionPlugins( const QString &pluginDirString )
484484
#elif ANDROID
485485
QString pluginExt = "*plugin.so";
486486
#else
487-
QString pluginExt = QStringLiteral( "*.so*" );
487+
QString pluginExt = QStringLiteral( "*.so" );
488488
#endif
489489

490490
// check all libs in the current plugin directory and get name and descriptions

0 commit comments

Comments
 (0)