Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Automatic setup when using separate LeakCanary process #1585
Conversation
| @@ -145,6 +146,10 @@ object LeakCanary { | |||
| */ | |||
| @Volatile | |||
| var config: Config = if (AppWatcher.isInstalled) Config() else InternalLeakCanary.noInstallConfig | |||
| set(value) { | |||
| field = value | |||
| SharkLog.d { "Updated LeakCanary.config to ${AppWatcher.config} " } | |||
Armaxis
Sep 14, 2019
Member
Nit: $value should work too?
Nit: $value should work too?
pyricau
Sep 14, 2019
Author
Member
Not to mention that the code is actually wrong here
Not to mention that the code is actually wrong here

Formed in 2009, the Archive Team (not to be confused with the archive.org Archive-It Team) is a rogue archivist collective dedicated to saving copies of rapidly dying or deleted websites for the sake of history and digital heritage. The group is 100% composed of volunteers and interested parties, and has expanded into a large amount of related projects for saving online and digital history.

Fixes #1584