Move the state change to below the state notifications
This means that anyone interogating the passed algorithm on a FinishedNotification will not get a Finished ResultState, but it is worth this minor sacrifice for the lieftime management.
Please register or sign in to comment