Beispiel #1
0
 protected void SetupLeakCanary()
 {
     if (LeakCanaryXamarin.IsInAnalyzerProcess(this))
     {
         return;
     }
     _refWatcher = LeakCanaryXamarin.Install(this);
 }
Beispiel #2
0
 protected void SetupLeakCanary()
 {
     if (LeakCanaryXamarin.IsInAnalyzerProcess(this))
     {
         // This process is dedicated to LeakCanary for heap analysis.
         // You should not init your app in this process.
         return;
     }
     _refWatcher = LeakCanaryXamarin.Install(this);
 }