Skip to content
Commit 5e25df70 authored by Cosimo Cecchi's avatar Cosimo Cecchi Committed by Christian Hergert
Browse files

ide-subprocess: count outstanding operations beforehand

Instead of adding up when triggering operations, increase the count
beforehand. That way, even if an operation happens to complete before
returning from the thread, we'll always correctly wait for all of them
to be completed before returning the task.

https://bugzilla.gnome.org/show_bug.cgi?id=779976
parent 6d5d991e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment