Refactor the BASP broker as a class-based actor
Our new design must make sure that the BASP instance inside the BASP broker outlives the scheduler. Otherwise, currently running BASP workers might access released memory during shutdown. Hence, we move the BASP instance to a member of the actor itself to make sure that object won't get destroyed when the BASP broker quits but when it gets actually destroyed instead.
Showing
This diff is collapsed.
Please register or sign in to comment