[[ Bug 12364 ]] Prevent crash when runloop action is removed by its own ...

...callback