RippeR37/libbase

Stop creating new instances of SequencedTaskRunnerImpl in MessageLoopImpl

Closed this issue · 1 comments

Currently MessageLoopImpl::RunTask() creates a new instance of SequencedTaskRunnerImpl every time a task is executed. This is wasteful and makes the logic a bit more complex. The goal of this issue is to rewrite the logic so that new instance of task runner doesn't have to be created for all tasks.

Done while doing #13 (PR #22).