forked from I2P_Developers/i2p.i2p
changes due to LoadClientAppsJob changes for ClientApp interface
This commit is contained in:
@ -244,7 +244,7 @@ public class ConfigClientsHandler extends FormHandler {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
ClientAppConfig ca = clients.get(i);
|
ClientAppConfig ca = clients.get(i);
|
||||||
LoadClientAppsJob.runClient(ca.className, ca.clientName, LoadClientAppsJob.parseArgs(ca.args), _log);
|
LoadClientAppsJob.runClient(ca.className, ca.clientName, LoadClientAppsJob.parseArgs(ca.args), _context, _log);
|
||||||
addFormNotice(_("Client") + ' ' + _(ca.clientName) + ' ' + _("started") + '.');
|
addFormNotice(_("Client") + ' ' + _(ca.clientName) + ' ' + _("started") + '.');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -652,7 +652,7 @@ public class PluginStarter implements Runnable {
|
|||||||
// quick check, will throw ClassNotFoundException on error
|
// quick check, will throw ClassNotFoundException on error
|
||||||
LoadClientAppsJob.testClient(app.className, cl);
|
LoadClientAppsJob.testClient(app.className, cl);
|
||||||
// run this guy now
|
// run this guy now
|
||||||
LoadClientAppsJob.runClient(app.className, app.clientName, argVal, log, pluginThreadGroup, cl);
|
LoadClientAppsJob.runClient(app.className, app.clientName, argVal, ctx, log, pluginThreadGroup, cl);
|
||||||
} else {
|
} else {
|
||||||
// If there is some delay, there may be a really good reason for it.
|
// If there is some delay, there may be a really good reason for it.
|
||||||
// Loading a class would be one of them!
|
// Loading a class would be one of them!
|
||||||
|
Reference in New Issue
Block a user