You need to make sure finished_callback
is still defined when the executor needs it. Making it global instead of in the function creating the executor is a way to do so.
1 Like
You need to make sure finished_callback
is still defined when the executor needs it. Making it global instead of in the function creating the executor is a way to do so.