We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c93a143 commit 7976485Copy full SHA for 7976485
ios/RCTMqtt.m
@@ -91,7 +91,7 @@ -(void)stopObserving {
91
[[[self clients] objectForKey:clientRef] disconnect];
92
}
93
94
-RCT_EXPORT_METHOD(disconnectAll:(nonnull NSString *) clientRef) {
+RCT_EXPORT_METHOD(disconnectAll:() clientRef) {
95
if (self.clients.count > 0) {
96
for(NSString* aClientRef in self.clients) {
97
[[[self clients] objectForKey:aClientRef] disconnect];
0 commit comments