summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorCarl Lerche <me@carllerche.com>2018-05-11 08:32:03 -0700
committerGitHub <noreply@github.com>2018-05-11 08:32:03 -0700
commita8500632113a527780fb9c756e3d8b8a85d0f754 (patch)
treee552a805106658fa52d421e9ac840c9ce4ec9e51 /examples
parent14ec268b8aa30ede7ebd190c3caf1c4cbc856be2 (diff)
Handle::default() should lazily bind to reactor. (#350)
Currently, not specifying a `Handle` is different than using `Handle::default()`. This is because `Handle::default()` will immediately bind to the reactor for the current context vs. not specifying a `Handle`, which binds to a reactor when it is polled. This patch changes the `Handle::default()` behavior, bringing it inline with actual defaults. `Handle::current()` still immediately binds to the current reactor. Fixes #307
Diffstat (limited to 'examples')
0 files changed, 0 insertions, 0 deletions