Flush pending Disconnected callback in anticipation of blocking the main thread

This commit is contained in:
Ryan Kistner committed 2014-11-29 14:06:24 -07:00
1 parent 6f8fa5a376
commit 63ab1b0232
1 file changed
+3
+3
View File
@@ -335,6 +335,9 @@ namespace DepotDownloader
bConnected = false;
bConnecting = false;
bAborted = true;
// flush callbacks
callbacks.RunCallbacks();
}