Skip to content

Commit

Permalink
fix android service restarting on exit
Browse files Browse the repository at this point in the history
  • Loading branch information
timwr committed Mar 17, 2016
1 parent d1aafbf commit d2f54e6
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,7 @@ private static void readAndRunStage(DataInputStream in, OutputStream out, String
myClass.getMethod("start",
new Class[]{DataInputStream.class, OutputStream.class, String[].class})
.invoke(stage, in, out, parameters);
System.exit(0);

session_expiry = -1;
}
}

0 comments on commit d2f54e6

Please sign in to comment.