zakgof / actr

Simple, fast and typesafe Java actor model implementation
Apache License 2.0
119 stars 20 forks source link

Flow: a mailbox can get locked forever #4

Closed SereneAnt closed 5 years ago

SereneAnt commented 5 years ago

In ForkJoinPoolScheduler#schedule, requires finally block (line 45):

mailbox.locked.set(false);

Otherwise, it can be skipped due to a runtime error, so a mailbox is locked forever.

zakgof commented 5 years ago

Fixed in 1.1.0