mirror of https://github.com/WerWolv/ImHex.git
fix: Crash when opening a project file when already having providers open
This commit is contained in:
parent
ab29303c2e
commit
ceae23eab1
|
@ -36,7 +36,8 @@ namespace hex {
|
|||
return false;
|
||||
}
|
||||
|
||||
for (const auto &provider : ImHexApi::Provider::getProviders()) {
|
||||
auto providers = auto(ImHexApi::Provider::getProviders());
|
||||
for (const auto &provider : providers) {
|
||||
ImHexApi::Provider::remove(provider);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue