MAVSDK icon indicating copy to clipboard operation
MAVSDK copied to clipboard

Race condition in assigning callbacklist handle

Open devbharat opened this issue 1 year ago • 4 comments

There could be a race condition in assigning handle here can do something like _last_id.fetch_add(1, std::memory_order_relaxed);

Another thing i noticed is nested subscriptions wouldn't work from callbacks. Maybe we should add a comment for it, or better do deferred subscriptions as well like removals.

devbharat avatar Feb 05 '24 16:02 devbharat