plugin stopper

This commit is contained in:
zzz
2010-02-08 20:37:49 +00:00
parent b7a0aeea34
commit c0135b592d
3 changed files with 58 additions and 9 deletions

View File

@@ -287,7 +287,12 @@ public class PluginUpdateHandler extends UpdateHandler {
return;
}
// check if it is running now and stop it?
// check if it is running first?
try {
if (!PluginStarter.stopPlugin(_context, appName)) {
// failed, ignore
}
} catch (Exception e) {} // ignore
} else {
if (Boolean.valueOf(props.getProperty("update-only")).booleanValue()) {