Skip to content

Commit

Permalink
Merge pull request #217 from YusukeIwaki/porting/8233
Browse files Browse the repository at this point in the history
fix: also kill Firefox when temporary profile is used
  • Loading branch information
YusukeIwaki committed May 8, 2022
2 parents ae5b010 + f2d8113 commit 1a5f925
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/puppeteer/browser_runner.rb
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 1a5f925

Please sign in to comment.