Remove superfluous debug output
This commit is contained in:
parent
88b0b1f8e8
commit
df84a102df
|
@ -51,9 +51,7 @@ spawn named 'driver-timer/TimeLaterThan' {
|
||||||
let finish = Dataspace.backgroundTask();
|
let finish = Dataspace.backgroundTask();
|
||||||
on start {
|
on start {
|
||||||
let delta = deadlineMS - (+(new Date()));
|
let delta = deadlineMS - (+(new Date()));
|
||||||
console.log('Observation of TimeLaterThan', deadlineMS, delta);
|
|
||||||
handle = setTimeout(Dataspace.wrapExternal(() => {
|
handle = setTimeout(Dataspace.wrapExternal(() => {
|
||||||
console.log('Firing TimeLaterThan', deadlineMS);
|
|
||||||
handle = null;
|
handle = null;
|
||||||
finish();
|
finish();
|
||||||
finish = null;
|
finish = null;
|
||||||
|
@ -63,7 +61,6 @@ spawn named 'driver-timer/TimeLaterThan' {
|
||||||
}), delta);
|
}), delta);
|
||||||
}
|
}
|
||||||
on stop {
|
on stop {
|
||||||
console.log('Retraction of observation of TimeLaterThan', deadlineMS);
|
|
||||||
if (handle) {
|
if (handle) {
|
||||||
clearTimeout(handle);
|
clearTimeout(handle);
|
||||||
handle = null;
|
handle = null;
|
||||||
|
|
Loading…
Reference in New Issue