From dacd00778032430979076440bc72a965037e6106 Mon Sep 17 00:00:00 2001 From: Christian Pauly Date: Wed, 23 Dec 2020 11:32:58 +0100 Subject: [PATCH] fix: Clear logs on clear() --- lib/src/client.dart | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/src/client.dart b/lib/src/client.dart index b486e5fd..1f565a4c 100644 --- a/lib/src/client.dart +++ b/lib/src/client.dart @@ -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;