We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e9b8a75 commit 0e1fa26Copy full SHA for 0e1fa26
1 file changed
src/notification.rs
@@ -100,6 +100,10 @@ impl<'a> Iterator for Iter<'a> {
100
return Some(Ok(notification));
101
}
102
103
+ if conn.is_desynchronized() {
104
+ return Some(Err(Error::Io(desynchronized())));
105
+ }
106
+
107
match conn.read_message_with_notification_nonblocking() {
108
Ok(Some(NotificationResponse { pid, channel, payload })) => {
109
Some(Ok(Notification {
0 commit comments