(svn r18493) -Fix: don't access something after deleting it

This commit is contained in:
rubidium
2009-12-13 21:36:10 +00:00
parent f7e40c76e4
commit 2d249b9946

View File

@@ -751,6 +751,7 @@ public:
if (!success) { if (!success) {
ShowErrorMessage(STR_CONTENT_ERROR_COULD_NOT_CONNECT, INVALID_STRING_ID, 0, 0); ShowErrorMessage(STR_CONTENT_ERROR_COULD_NOT_CONNECT, INVALID_STRING_ID, 0, 0);
delete this; delete this;
return;
} }
this->InvalidateData(); this->InvalidateData();