From 63ab1b02322fcda552680d504c9df6c2ac4cd350 Mon Sep 17 00:00:00 2001 From: Ryan Kistner Date: Sat, 29 Nov 2014 14:06:24 -0700 Subject: [PATCH] Flush pending Disconnected callback in anticipation of blocking the main thread --- DepotDownloader/Steam3Session.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/DepotDownloader/Steam3Session.cs b/DepotDownloader/Steam3Session.cs index 360fc1b8..41a78aa3 100644 --- a/DepotDownloader/Steam3Session.cs +++ b/DepotDownloader/Steam3Session.cs @@ -335,6 +335,9 @@ namespace DepotDownloader bConnected = false; bConnecting = false; bAborted = true; + + // flush callbacks + callbacks.RunCallbacks(); }