fix: Clear logs on clear()

This commit is contained in:
Christian Pauly 2020-12-23 11:32:58 +01:00
parent 27dd05e1dd
commit dacd007780
1 changed files with 1 additions and 0 deletions

View File

@ -807,6 +807,7 @@ class Client extends MatrixApi {
/// Resets all settings and stops the synchronisation.
void clear() {
Logs().outputEvents.clear();
database?.clear(id);
_id = accessToken =
homeserver = _userID = _deviceID = _deviceName = prevBatch = null;