Commit Graph

4 Commits

Author SHA1 Message Date
Sam 6b3b1de35b FIX: segfault due to GC when running attached functions
args used for attached functions were not correctly managed by GC
leading to very early cleanup. this occationally caused segfaults.
2018-06-27 18:39:15 +10:00
Sam dbaaab46b5 correct attached function calls to properly check for function 2018-06-26 13:59:29 +10:00
Sam 6fbec25677 FIX: properly handle timeouts in Ruby code
Notes

Thread#raise does not happen right away, it may be delayed so we use a lock to ensure we get it
Timeout thread is now a ruby managed thread, this allows it to properly communicate with ruby callbacks
Context#stop is fixed to work in all conditions
2016-09-22 15:49:06 +10:00
Sam 767814af4e add test for VM crash 2016-09-22 10:15:53 +10:00