Commit 4e059a9
chardev/char-pty: send CHR_EVENT_CLOSED on disconnect
Change makes code symmetric to the code, which handles
the "connected" state, i.e. send CHR_EVENT_CLOSED when
state changes from "connected" to "disconnected".
This behavior is similar to char-socket, for example.
Signed-off-by: Roman Penyaev <[email protected]>
Reviewed-by: "Marc-André Lureau" <[email protected]>
Reviewed-by: "Alex Bennée" <[email protected]>
Cc: [email protected]
Message-ID: <[email protected]>1 parent 6fccaa2 commit 4e059a9
1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
181 | 181 | | |
182 | 182 | | |
183 | 183 | | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
184 | 187 | | |
185 | 188 | | |
186 | 189 | | |
| |||
215 | 218 | | |
216 | 219 | | |
217 | 220 | | |
218 | | - | |
219 | 221 | | |
220 | 222 | | |
221 | 223 | | |
| |||
0 commit comments