Skip to content

Commit cdaf620

Browse files
committed
Fix disposed flag.
1 parent 30c84bc commit cdaf620

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

sdk/@launchdarkly/launchdarkly_flutter_observability/lib/src/instrumentation/lifecycle/lifecycle_instrumentation.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ final class LifecycleInstrumentation implements Instrumentation {
5757
void dispose() {
5858
if (!disposed) {
5959
_lifecycleListener.close();
60+
disposed = true;
6061
}
6162
}
6263
}

0 commit comments

Comments
 (0)