verifyNoLeaksInDebug static method

void verifyNoLeaksInDebug()

Equivalent to verifyNoLeaks but only active in debug and profile builds.

Implementation

static void verifyNoLeaksInDebug() {
  if (!isReleaseMode) verifyNoLeaks();
}