Skip to content

Commit

Permalink
Mts obshchiy_paket, standalone version addition parameter fix kill ch…
Browse files Browse the repository at this point in the history
…rome
  • Loading branch information
artyl committed Oct 17, 2020
1 parent 1fe4864 commit 43ca838
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions plugin/pyppeteeradd.py
Original file line number Diff line number Diff line change
Expand Up @@ -396,6 +396,7 @@ async def _async_main(self):
for k, v in self.responses.items() if 'GetAdElementsLS' not in k and 'mc.yandex.ru' not in k])
open(os.path.join(store.options('loggingfolder'), self.storename + '.log'), 'w', encoding='utf8', errors='ignore').write(text)
await self.browser.close()
kill_chrome() # Добиваем все наши незакрытые хромы, чтобы не появлялось кучи зависших
clear_cache(self.storename)
return self.result

Expand Down

0 comments on commit 43ca838

Please sign in to comment.