Skip to content

Commit dd171bb

Browse files
committed
fixed a bug which lead to logs being deleted upon disconnecting and reconnecting
1 parent c11404d commit dd171bb

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

core/client/log/jsonmessagelogger.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,8 @@ namespace orpg
193193
roomUidMap.remove(currentUid);
194194
file.remove();
195195
}
196+
file.setFileName("");
197+
currentUid = QString();
196198
chatMessageCount = 0;
197199
idNameMap.clear();
198200
}

0 commit comments

Comments
 (0)