Skip to content

Commit

Permalink
Fixes #35541 - Mark session as closed after run_sync when using async…
Browse files Browse the repository at this point in the history
…_ssh (#94)
  • Loading branch information
adamruzicka committed Sep 26, 2022
1 parent d99a094 commit d5c1863
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,10 @@ def env_script
SCRIPT
end

def run_sync(command, stdin = nil)
super(command, stdin).tap { @session = nil }
end

private

# Generates updates based on the callback data from the manual mode
Expand Down

0 comments on commit d5c1863

Please sign in to comment.