philostler/acts_as_executor — Issue #21: done_handler being assigned to task whos executor is schedulable
Author: philostler
Created: 2011-10-09 00:14:05+00:00
State: open
Labels: bug

An ```ActsAsExecutor::Common::FutureTask``` is not returned when calling ```execute``` on a schedulable executor due to the task never being expected to complete (it's a reoccurring task).

Thus, the following line should not be executed if the executor returns ```true``` to ```schedulable?```.

```ruby
future.done_handler = method :done_handler
```