Skip to content

Commit cede122

Browse files
committed
update a method signature for newer RN versions
1 parent aed700c commit cede122

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

ios/MqttClient.swift

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -322,8 +322,7 @@ class MqttClient : RCTEventEmitter {
322322
}
323323

324324
// https://stackoverflow.com/a/38161889
325-
//override func invalidate() -> Void {
326-
func invalidate() -> Void {
325+
override func invalidate() -> Void {
327326
os_log("MqttClient: invalidating")
328327
self.disconnect()
329328
}

0 commit comments

Comments
 (0)