Commit 2e46494
committed
Make sure to print an error if data is lost while terminating DPL proxy
Amending PR #3801. Checking for the requested change of device state before
dispatching messages might silently drop data.
Have to ensure that message are always dispatched, and if the sending does not
succeed an error message is printed. Only after that the pending device state
change is checked and can break the loop.1 parent ad852da commit 2e46494
1 file changed
Lines changed: 10 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
72 | | - | |
| 72 | + | |
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
| |||
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
86 | 95 | | |
87 | 96 | | |
88 | 97 | | |
| |||
0 commit comments