about summary refs log tree commit diff
path: root/src/rt/sync/timer.cpp
diff options
context:
space:
mode:
authortoddaaro <github@opprobrio.us>2013-08-20 15:33:20 -0700
committertoddaaro <github@opprobrio.us>2013-08-20 15:48:59 -0700
commit352ac2efdf825864335cd31e56fdda7352bb6a1a (patch)
tree9e0d21558db4cbff8781f4b01abd53154866b138 /src/rt/sync/timer.cpp
parente5ccf13668ed7b66d6efd9a1a03926e98546705d (diff)
downloadrust-352ac2efdf825864335cd31e56fdda7352bb6a1a.tar.gz
rust-352ac2efdf825864335cd31e56fdda7352bb6a1a.zip
Fixed a memory leak caused by the singleton idle callback failing to close correctly. The problem was that the close function requires running inside a callback in the event loop, but we were trying to close the idle watcher after the loop returned from run. The fix was to just call run again to process this callback. There is an additional tweak to move the initialization logic fully into bootstrap, so tasks that do not ever call run do not have problems destructing.
Diffstat (limited to 'src/rt/sync/timer.cpp')
0 files changed, 0 insertions, 0 deletions