From bee1318e72d01e37085e44d9c100926419b3c7ca Mon Sep 17 00:00:00 2001 From: Maxim Mamontov Date: Fri, 16 Sep 2011 20:45:17 +0300 Subject: [PATCH] Return correct core if stop fails --- projects/stargazer/plugin_runner.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/projects/stargazer/plugin_runner.cpp b/projects/stargazer/plugin_runner.cpp index 0bf159b8..3083352c 100644 --- a/projects/stargazer/plugin_runner.cpp +++ b/projects/stargazer/plugin_runner.cpp @@ -178,9 +178,7 @@ if (!plugin) return -1; } -plugin->Stop(); - -return 0; +return plugin->Stop(); } //----------------------------------------------------------------------------- int PLUGIN_RUNNER::Reload() -- 2.44.2