diff options
| author | Michael <[email protected]> | 2017-06-24 14:41:45 -0400 |
|---|---|---|
| committer | Michael <[email protected]> | 2017-06-24 14:41:45 -0400 |
| commit | 8621b3ddffdd8211604f01d90ff40c9b2991f27a (patch) | |
| tree | 925fc7ed52ba29189f6a4f76f939ea97ca7539f0 /ShiftOS.WinForms/Applications | |
| parent | 1661f9a5bd46dbd7d2586787c55bfc407c027629 (diff) | |
| download | shiftos_thereturn-8621b3ddffdd8211604f01d90ff40c9b2991f27a.tar.gz shiftos_thereturn-8621b3ddffdd8211604f01d90ff40c9b2991f27a.tar.bz2 shiftos_thereturn-8621b3ddffdd8211604f01d90ff40c9b2991f27a.zip | |
breaking the bonds storyline
Diffstat (limited to 'ShiftOS.WinForms/Applications')
| -rw-r--r-- | ShiftOS.WinForms/Applications/FileSkimmer.cs | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/ShiftOS.WinForms/Applications/FileSkimmer.cs b/ShiftOS.WinForms/Applications/FileSkimmer.cs index 34f9e9c..dee751b 100644 --- a/ShiftOS.WinForms/Applications/FileSkimmer.cs +++ b/ShiftOS.WinForms/Applications/FileSkimmer.cs @@ -55,11 +55,14 @@ namespace ShiftOS.WinForms.Applications public static void DisconnectRemote() { - OnDisconnect?.Invoke(); - CurrentRemoteUser = new Objects.ClientSave(); - if (!string.IsNullOrWhiteSpace(OpenConnection.SystemName)) - Infobox.Show("Connections terminated.", "All outbound File Skimmer connections have been terminated."); - OpenConnection = new ShiftOSEnvironment(); + Desktop.InvokeOnWorkerThread(() => + { + OnDisconnect?.Invoke(); + CurrentRemoteUser = new Objects.ClientSave(); + if (!string.IsNullOrWhiteSpace(OpenConnection.SystemName)) + Infobox.Show("Connections terminated.", "All outbound File Skimmer connections have been terminated."); + OpenConnection = new ShiftOSEnvironment(); + }); } public FileSkimmer() |
