Commit 70ad6305 authored by hpi1's avatar hpi1

BDJActionQueue: make some noise if created from Xlet context

parent 503793e2
......@@ -26,6 +26,12 @@ class BDJActionQueue implements Runnable {
}
public BDJActionQueue(BDJThreadGroup threadGroup, String name) {
if (threadGroup == null) {
if (BDJXletContext.getCurrentContext() != null) {
Logger.getLogger(BDJActionQueue.class.getName()).error("BDJActionQueue created from wrong context: " + Logger.dumpStack());
}
}
/* run all actions in given thread group / xlet context */
thread = new Thread(threadGroup, this, name + ".BDJActionQueue");
thread.setDaemon(true);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment