From 6cbf36e48bda617ce9473f4781eeb2f1d36579ea Mon Sep 17 00:00:00 2001 From: CaptainJeff Date: Wed, 13 Jul 2022 13:36:01 -0400 Subject: [PATCH] Update RCTAppleHealthKit.m --- RCTAppleHealthKit/RCTAppleHealthKit.m | 1 + 1 file changed, 1 insertion(+) diff --git a/RCTAppleHealthKit/RCTAppleHealthKit.m b/RCTAppleHealthKit/RCTAppleHealthKit.m index 03b97eb9..0a872462 100644 --- a/RCTAppleHealthKit/RCTAppleHealthKit.m +++ b/RCTAppleHealthKit/RCTAppleHealthKit.m @@ -765,6 +765,7 @@ - (void)emitEventWithName:(NSString *)name body:(NSDictionary *)body { [[NSNotificationCenter defaultCenter] postNotificationName:name object:self userInfo:body]; +} // Will be called when this module's last listener is removed, or on dealloc. -(void)stopObserving {