Skip to content

Commit 7976485

Browse files
committed
disconnectAll no longer receives an argument
1 parent c93a143 commit 7976485

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ios/RCTMqtt.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ -(void)stopObserving {
9191
[[[self clients] objectForKey:clientRef] disconnect];
9292
}
9393

94-
RCT_EXPORT_METHOD(disconnectAll:(nonnull NSString *) clientRef) {
94+
RCT_EXPORT_METHOD(disconnectAll:() clientRef) {
9595
if (self.clients.count > 0) {
9696
for(NSString* aClientRef in self.clients) {
9797
[[[self clients] objectForKey:aClientRef] disconnect];

0 commit comments

Comments
 (0)