Don't hold Context variables for the lifetime of scheduled calls
Fixes #1568
This commit is contained in:
2 files changed
+2
-2
No files matched your search
@@ -157,7 +157,7 @@ public class CarpetEventServer
|
||||
{
|
||||
// ignoring target as we will be always calling self
|
||||
super(context.host.getName(), null, function, args);
|
||||
this.ctx = context;
|
||||
this.ctx = context.duplicate();
|
||||
this.dueTime = dueTime;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user