Code Review
/
apps
/
agl-service-can-low-level.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
Fix: exception unsubscribe all at start
[apps/agl-service-can-low-level.git]
/
CAN-binder
/
low-can-binding
/
binding
/
low-can-cb.cpp
diff --git
a/CAN-binder/low-can-binding/binding/low-can-cb.cpp
b/CAN-binder/low-can-binding/binding/low-can-cb.cpp
index
071f107
..
ce829b9
100644
(file)
--- a/
CAN-binder/low-can-binding/binding/low-can-cb.cpp
+++ b/
CAN-binder/low-can-binding/binding/low-can-cb.cpp
@@
-208,6
+208,8
@@
static int subscribe_unsubscribe_diagnostic_messages(struct afb_req request, boo
}
else
{
+ diag_m.cleanup_request(
+ diag_m.find_recurring_request(*diag_req), true);
if(sig->get_supported())
{DEBUG(binder_interface, "%s: %s cancelled due to unsubscribe", __FUNCTION__, sig->get_name().c_str());}
else