mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-03-27 23:37:05 -05:00
fix: Invalid iterator dereference when removing providers
This commit is contained in:
@@ -462,7 +462,7 @@ namespace hex {
|
||||
if (s_providers->empty())
|
||||
EventProviderChanged::post(provider, nullptr);
|
||||
|
||||
EventProviderClosed::post(it->get());
|
||||
EventProviderClosed::post(providerToRemove);
|
||||
RequestUpdateWindowTitle::post();
|
||||
|
||||
// Do the destruction of the provider in the background once all tasks have finished
|
||||
|
||||
Reference in New Issue
Block a user