Skip to content
Snippets Groups Projects
Commit 25aa3c80 authored by Chris Hines's avatar Chris Hines
Browse files

remove the sshsessid when shuting down agents etc

parent 7c257a07
No related branches found
No related tags found
3 merge requests!77Revert "disable agressive kill and restart",!64Test,!62Dev
Pipeline #15641 passed
......@@ -93,6 +93,7 @@ class SSHAgent(Resource):
sshsess = SSHSession.get_sshsession()
sshsess.kill()
SSHSession.remove_sshsession()
session.pop('sshsessid', None)
return []
except Exception as e:
import traceback
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment