[Scummvm-git-logs] scummvm branch-2-9 -> 6e5cb26f647517d0cd9601dd0263cb8a89e2fe6c
ccawley2011
noreply at scummvm.org
Sat Nov 23 18:04:05 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:
6e5cb26f64 BASE: Fix a crash on exit when the detection plugin is loaded
Commit: 6e5cb26f647517d0cd9601dd0263cb8a89e2fe6c
https://github.com/scummvm/scummvm/commit/6e5cb26f647517d0cd9601dd0263cb8a89e2fe6c
Author: Cameron Cawley (ccawley2011 at gmail.com)
Date: 2024-11-23T18:03:59Z
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