Skip to content

Commit

Permalink
fix: also kill Firefox when temporary profile is used
Browse files Browse the repository at this point in the history
  • Loading branch information
YusukeIwaki committed May 8, 2022
1 parent 6d95a21 commit f2d8113
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/puppeteer/browser_runner.rb
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ def start(
def close
return if @closed

if @using_temp_user_data_dir && !@for_firefox
if @using_temp_user_data_dir
kill
elsif @connection
begin
Expand Down

0 comments on commit f2d8113

Please sign in to comment.