dispose static method

void dispose()

Dispose the fgbg subscription to avoid memory leaks.

Implementation

static void dispose() {
  fgbgSubscription.cancel();
}