Get rid of WindowsUpdatePostProcessor() constructor with no arguments, since this will lead to a null context which will break everything and is not useful/used anyway

This commit is contained in:
idk
2022-02-11 14:42:37 -05:00
parent 36b0618b8d
commit f910ec2dde
2 changed files with 7 additions and 17 deletions

View File

@@ -26,9 +26,6 @@ import static net.i2p.update.UpdateType.*;
* router.pid - the pid of the java process.
*/
public class WinLauncher {
// private static WindowsUpdatePostProcessor wupp = new
// WindowsUpdatePostProcessor();
public static void main(String[] args) throws Exception {
File programs = selectProgramFile();
if (!programs.exists())
@@ -73,7 +70,7 @@ public class WinLauncher {
}
// then wait for the update manager
ClientAppManager cam;
while ((cam = ctx.clientAppManager()) == null) {
sleep(1000);