Skip to content

Commit

Permalink
Plugin loading: only load .so files on Linux
Browse files Browse the repository at this point in the history
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
  • Loading branch information
rouault committed Jun 3, 2018
1 parent 79ba0ee commit 427ac10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/qgspluginregistry.cpp
Expand Up @@ -484,7 +484,7 @@ void QgsPluginRegistry::restoreSessionPlugins( const QString &pluginDirString )
#elif ANDROID
QString pluginExt = "*plugin.so";
#else
QString pluginExt = QStringLiteral( "*.so*" );
QString pluginExt = QStringLiteral( "*.so" );
#endif

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

0 comments on commit 427ac10

Please sign in to comment.