Fix race between network client disconnect and network window deletion

This commit is contained in:
Jonathan G Rennison
2022-06-22 19:23:20 +01:00
parent ccef4baea6
commit ff064e06b8
7 changed files with 25 additions and 7 deletions

View File

@@ -522,7 +522,7 @@ static const NWidgetPart _nested_chat_window_widgets[] = {
static WindowDesc _chat_window_desc(
WDP_MANUAL, nullptr, 0, 0,
WC_SEND_NETWORK_MSG, WC_NONE,
0,
WDF_NETWORK,
_nested_chat_window_widgets, lengthof(_nested_chat_window_widgets)
);