motion-state-machine icon indicating copy to clipboard operation
motion-state-machine copied to clipboard

Allow explicit block-passing to on_entry/on_exit

Open buffpojken opened this issue 10 years ago • 1 comments

Due to Rubymotion adding support WeakRef, and weakly refed callables, not being able to mark a callback as weak introduces subtle bugs and memory leaks if user references for example a delegate-object within a block.

This allows a block to be marked as weak! and then passed as an argument.

buffpojken avatar May 15 '14 18:05 buffpojken

I managed to overlook this pull request, sorry for that! Very good idea, it's just missing a spec…

opyh avatar Jan 05 '15 18:01 opyh