mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-02 21:33:26 +00:00
Periphery cleanup (#5893)
This commit is contained in:
@@ -57,7 +57,11 @@ class AnalyticsService: AnalyticsServiceProtocol {
|
||||
MXLog.info("Started.")
|
||||
}
|
||||
|
||||
func reset() {
|
||||
/// Resets any IDs and event queues in the analytics client. This method should
|
||||
/// be called on sign-out to ensure the next
|
||||
/// account used isn't associated with the previous one.
|
||||
/// Note: **MUST** be called before stopping PostHog or the reset is ignored.
|
||||
private func reset() {
|
||||
client.reset()
|
||||
MXLog.info("Reset.")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user