diff options
Diffstat (limited to 'src/network')
-rw-r--r-- | src/network/network.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/network/network.cpp b/src/network/network.cpp index 3ad86d843..e868bbd2f 100644 --- a/src/network/network.cpp +++ b/src/network/network.cpp @@ -937,6 +937,9 @@ void NetworkDisconnect(bool blocking) DeleteWindowById(WC_NETWORK_STATUS_WINDOW, 0); NetworkClose(); + + /* Reinitialize the UDP stack, i.e. close all existing connections. */ + NetworkUDPInitialize(); } /** |