MAVSDK
MAVSDK copied to clipboard
Race condition in assigning callbacklist handle
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.