forked from I2P_Developers/i2p.i2p
plugin stopper
This commit is contained in:
@@ -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()) {
|
||||
|
||||
Reference in New Issue
Block a user