[Scummvm-git-logs] scummvm master -> 10737f45e9617ee4307855b976dd9b5626a90f5e
bluegr
noreply at scummvm.org
Sat Nov 23 16:14:50 UTC 2024
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
10737f45e9 BASE: Fix a crash on exit when the detection plugin is loaded
Commit: 10737f45e9617ee4307855b976dd9b5626a90f5e
https://github.com/scummvm/scummvm/commit/10737f45e9617ee4307855b976dd9b5626a90f5e
Author: Cameron Cawley (ccawley2011 at gmail.com)
Date: 2024-11-23T18:14:47+02:00
Commit Message:
BASE: Fix a crash on exit when the detection plugin is loaded
Changed paths:
base/plugins.cpp
diff --git a/base/plugins.cpp b/base/plugins.cpp
index 17f8b3e7089..5bef09fbc19 100644
--- a/base/plugins.cpp
+++ b/base/plugins.cpp
@@ -296,7 +296,8 @@ PluginManagerUncached::~PluginManagerUncached() {
}
_allEnginePlugins.clear();
- delete _detectionPlugin;
+ // Explicitly unload the detection plugin
+ unloadDetectionPlugin();
}
/**
More information about the Scummvm-git-logs
mailing list