]> git.stg.codes - stg.git/commitdiff
Return correct core if stop fails
authorMaxim Mamontov <faust.madf@gmail.com>
Fri, 16 Sep 2011 17:45:17 +0000 (20:45 +0300)
committerMaxim Mamontov <faust.madf@gmail.com>
Fri, 16 Sep 2011 17:45:17 +0000 (20:45 +0300)
projects/stargazer/plugin_runner.cpp

index 0bf159b8ee5bf58601bbf88a35269e9772060629..3083352c41b8c08b12e1022c970c384abca9e8c6 100644 (file)
@@ -178,9 +178,7 @@ if (!plugin)
     return -1;
     }
 
-plugin->Stop();
-
-return 0;
+return plugin->Stop();
 }
 //-----------------------------------------------------------------------------
 int PLUGIN_RUNNER::Reload()