Fix leaky tests |
|
Issue descriptionQuite a few tests leak TaskRunner::DeleteSoon tasks because MessageLoop does not delete the object if the message loop is destroyed before it has a chance to run. This is because the MessageLoop destructor does not run the pending tasks, just pops them off the work queue. We now have a TestMessageLoop that flushes the underlying message loop upon destruction. We should use it to fix leaky tests. |
|
►
Sign in to add a comment |
|