Running the following code breaks missionary in some way. For example, after I run the code at [1] it throws a null exception, and from then on (m/? (m/sleep 1000 :abc)) freezes indefinitely until I restart the REPL.
Exception in thread "missionary scheduler" java.lang.NullPointerException
at missionary.impl.Reactor.signal(Reactor.java:93)
at missionary.impl.Reactor.emit(Reactor.java:187)
at missionary.impl.Reactor.leave(Reactor.java:210)
at missionary.impl.Reactor$1.invoke(Reactor.java:401)
at missionary.impl.Ambiguous$3.invoke(Ambiguous.java:115)
at missionary.impl.Ambiguous$4.invoke(Ambiguous.java:128)
at missionary.impl.Sequential.step(Sequential.java:52)
at missionary.impl.Sequential$1.invoke(Sequential.java:32)
at missionary.impl.Sleep$Scheduler.trigger(Sleep.java:61)
at missionary.impl.Sleep$Scheduler.run(Sleep.java:75)
This causes further operations like (m/? (m/sleep 1000 :test)) to hang indefinitely.
Running the following code breaks missionary in some way. For example, after I run the code at [1] it throws a null exception, and from then on
(m/? (m/sleep 1000 :abc))
freezes indefinitely until I restart the REPL.Running this throws an unhandled exception:
This causes further operations like
(m/? (m/sleep 1000 :test))
to hang indefinitely.