[android] change lock scope in run_loop to avoid deadlocks. simplify as
well
This commit is contained in:
committed by
Ivo van Dongen
parent
ca7d9422b6
commit
1fadf56368
@@ -13,7 +13,6 @@ class AsyncTask::Impl : public RunLoop::Impl::Runnable {
|
||||
public:
|
||||
Impl(std::function<void()>&& fn)
|
||||
: queued(true), task(std::move(fn)) {
|
||||
loop->initRunnable(this);
|
||||
}
|
||||
|
||||
~Impl() {
|
||||
|
||||
Reference in New Issue
Block a user