We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
()
1 parent 7c7c509 commit 9e0a9c0Copy full SHA for 9e0a9c0
js-envs-test-kit/src/main/scala/org/scalajs/jsenv/test/kit/MsgHandler.scala
@@ -26,7 +26,7 @@ import java.util.concurrent.TimeoutException
26
private[kit] final class MsgHandler {
27
private[this] var msgs: immutable.Queue[String] =
28
immutable.Queue.empty[String]
29
- private[this] val run = Promise[Unit]
+ private[this] val run = Promise[Unit]()
30
31
def onMessage(msg: String): Unit = synchronized {
32
if (run.isCompleted) {
0 commit comments