enthought/enaml — pull request #185 by mdickinson (2012-09-04 07:24:43+00:00)
Title: Fix issue #183: an exception in a scheduled task can (unpredictably) pre...

...vent subsequent tasks from executing.

One question: in `__next_task`, is there a reason to keep the `call_on_main` calls inside the `with self.__heap_lock:` block? Or can those be moved outside the block?