Console: Remove static StatSummarizer ref, hang off ClientAppManager

This commit is contained in:
zzz
2018-10-08 19:31:54 +00:00
parent 184b6179e5
commit bdd7c35ab3
6 changed files with 116 additions and 48 deletions

View File

@ -833,7 +833,7 @@ public class RouterConsoleRunner implements RouterApp {
}
}
Thread t = new I2PAppThread(new StatSummarizer(), "StatSummarizer", true);
Thread t = new I2PAppThread(new StatSummarizer(_context), "StatSummarizer", true);
t.setPriority(Thread.NORM_PRIORITY - 1);
t.start();