runImmediatly fix
authorDave Watson <davejwatson@fb.com>
Thu, 16 Apr 2015 18:15:19 +0000 (11:15 -0700)
committerAlecs King <int@fb.com>
Mon, 27 Apr 2015 23:42:36 +0000 (16:42 -0700)
commit3e68d7b45c2fc6830deddb07ccbbc0bdca7aec03
tree108cd1714ace53a86bb5bddf4c7466a1f4dc7ed8
parent162c972335772b3e972fa63a7f4499ff066cd17b
runImmediatly fix

Summary: Should also work if eventbase isn't looping

Test Plan: added new unittest

Reviewed By: hans@fb.com

Subscribers: doug, folly-diffs@, yfeldblum, chalfant

FB internal diff: D1984259

Signature: t1:1984259:1428691788:edb89424a48b8071a776d828300b7c1094f1c48f
folly/io/async/EventBase.cpp
folly/io/async/test/EventBaseTest.cpp