Skip to content

Commit

Permalink
Disable the Android CloseGuard by default. Android disables this too …
Browse files Browse the repository at this point in the history
…early on

at startup. We now disable it by default. It can still be enabled by users who
need it. (fixes #466)
  • Loading branch information
ntherning committed Mar 30, 2015
1 parent 17bcb3f commit c208164
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -113,8 +113,9 @@ public final class CloseGuard {
* Enabled by default so we can catch issues early in VM startup.
* Note, however, that Android disables this early in its startup,
* but enables it with DropBoxing for system apps on debug builds.
* <p>RoboVM note: Changed to be disabled by default.
*/
private static volatile boolean ENABLED = true;
private static volatile boolean ENABLED = false;

/**
* Hook for customizing how CloseGuard issues are reported.
Expand Down

0 comments on commit c208164

Please sign in to comment.