Skip to content

Commit 7abf94a

Browse files
committed
some fix
1 parent 18f1b5c commit 7abf94a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

client/mainwindow.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -333,8 +333,8 @@ void MainWindow::recv_data_handler(const QString &data)
333333
}
334334
}
335335

336-
337-
this->socket->close();
336+
if (this->socket)
337+
this->socket->close();
338338
}
339339
catch (const char* e)
340340
{

0 commit comments

Comments
 (0)