This commit is contained in:
@@ -525,7 +525,8 @@ namespace AyaNova.Biz
|
||||
// log.LogInformation($"DBG: ReportBiz::launching browser now");
|
||||
// #endif
|
||||
using (var browser = await Puppeteer.LaunchAsync(lo))
|
||||
using (var page = await browser.NewPageAsync())
|
||||
//using (var page = await browser.NewPageAsync())
|
||||
using (var page = (await browser.PagesAsync())[0])
|
||||
{
|
||||
//track this process so it can be cancelled if it times out
|
||||
ReportRenderManager.AddProcess(browser.Process.Id, renderTimeOutExpiry, log);
|
||||
|
||||
Reference in New Issue
Block a user