X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/0d1120fd953249ad6292b8684a2accb8890fb4ef..50175114ceead523f5f1bc64e586302bfdfcc28e:/projects/sgauthstress/store_loader.cpp diff --git a/projects/sgauthstress/store_loader.cpp b/projects/sgauthstress/store_loader.cpp index ab7291e2..a545da35 100644 --- a/projects/sgauthstress/store_loader.cpp +++ b/projects/sgauthstress/store_loader.cpp @@ -110,12 +110,13 @@ return false; bool STORE_LOADER::Unload() { -printfd(__FILE__, "STORE_LOADER::Unload()\n"); if (!isLoaded) { return true; } +printfd(__FILE__, "STORE_LOADER::Unload()\n"); + if (dlclose(handle)) { errorStr = "Failed to unload plugin '";