Skip to content

Instantly share code, notes, and snippets.

@jnthn
Created January 20, 2014 16:11
Show Gist options
  • Save jnthn/8523025 to your computer and use it in GitHub Desktop.
Save jnthn/8523025 to your computer and use it in GitHub Desktop.
diff --git a/src/vm/jvm/core/Supply.pm b/src/vm/jvm/core/Supply.pm
index d52519e..2de8ce9 100644
--- a/src/vm/jvm/core/Supply.pm
+++ b/src/vm/jvm/core/Supply.pm
@@ -127,15 +127,15 @@ sub on(&setup) {
$source.tap(
-> \val {
$lock.protect({ more(val) });
- CATCH { self.quit($_) }
+ CATCH { default { self.quit($_) } }
},
done => {
$lock.protect({ done() });
- CATCH { self.quit($_) }
+ CATCH { default { self.quit($_) } }
},
quit => -> $ex {
$lock.protect({ quit($ex) });
- CATCH { self.quit($_) }
+ CATCH { default { self.quit($_) } }
});
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment