Created
January 20, 2014 16:11
-
-
Save jnthn/8523025 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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