]> git.stg.codes - stg.git/blobdiff - projects/sgauthstress/store_loader.cpp
Produce debug output only if SMUX_DEBUG is defined
[stg.git] / projects / sgauthstress / store_loader.cpp
index ab7291e2893c8189382272af5a9d25739e59ae5e..a545da35e10cf5d76b3daea66dcabc261fcb68b1 100644 (file)
@@ -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 '";