I am still investigating the issue. Haven't thought through yet. But I think this bug is still valid.
if there is a long lasting task outstanding and user decides to logout...horizon should remind user that there is an task that is still running and takes some time to finish, it could give some options like
ask user to wait until the job is done
logout without revoking the token (if it is possible, how to revoke the token later?)
logout and abandon the task which could cause an error.
I am still investigating the issue. Haven't thought through yet. But I think this bug is still valid.
if there is a long lasting task outstanding and user decides to logout...horizon should remind user that there is an task that is still running and takes some time to finish, it could give some options like
ask user to wait until the job is done
logout without revoking the token (if it is possible, how to revoke the token later?)
logout and abandon the task which could cause an error.