-
Notifications
You must be signed in to change notification settings - Fork 124
Open
Description
The cause of memory leak is public class TelemetryManager : IDisposable.
This class is created by public class Pubnub is case of config.EnableTelemetry == true but will never be disposed.
It can lead to significantly increasing of Number of Active Timers and ultimately lead to memory leak.

Also, non-disposed timers can affect monitor tools (e.g. New Relic) -

My suggestion is:
- Add
IDisposableinterface toPubnubclass. - Implement
Disposemethod to clear this.TelemetryManager.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels