Skip to content

Commit

Permalink
Fixed removal handlers for error listeners
Browse files Browse the repository at this point in the history
  • Loading branch information
lie-yan committed Nov 24, 2024
1 parent db0a821 commit 51c5b29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Lexical/Core/Editor.swift
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ public class Editor: NSObject {

return { [weak self] in
guard let self else { return }
self.listeners.update.removeValue(forKey: uuid)
self.listeners.errors.removeValue(forKey: uuid)
}
}

Expand Down

0 comments on commit 51c5b29

Please sign in to comment.