Show the start button when a plugin is not running, and the stop button when a plugin is running.

This commit is contained in:
HungryHobo committed 2010-04-16 03:58:48 +00:00
1 parent 10d37a9be5
commit ecbc0a2a2d
6 files changed
+99 -5

No files matched your search

@@ -55,6 +55,12 @@ public class I2PThread extends Thread {
_createdBy = new Exception("Created by");
}
public I2PThread(ThreadGroup g, Runnable r) {
super(g, r);
if ( (_log == null) || (_log.shouldLog(Log.DEBUG)) )
_createdBy = new Exception("Created by");
}
private void log(int level, String msg) { log(level, msg, null); }
private void log(int level, String msg, Throwable t) {
// we cant assume log is created