This commit is contained in:
2020-09-21 19:55:35 +00:00
parent c592da4cbf
commit d0dd057a1a
3 changed files with 15 additions and 7 deletions

View File

@@ -243,7 +243,6 @@ IMPORTANT NOTES:
DOCKER / LINUX CHEAT SHEET
Alpine linux enter container and run shell from docker:
docker run -it [container_id] /bin/ash
sudo docker exec -it xfer_ayanova_1 ash

View File

@@ -519,6 +519,11 @@ namespace AyaNova.Biz
//render to pdf and return
log.LogDebug($"Calling render page contents to PDF");
await page.PdfAsync(outputFullPath);
//close the browser
// log.LogDebug($"Closing browser");
// await browser.CloseAsync();
log.LogDebug($"Completed, returning results");
return outputFileName;
}
@@ -536,6 +541,10 @@ namespace AyaNova.Biz
// var v=await page.GetContentAsync();
throw;
}
finally
{
await browser.CloseAsync();
}
}
}

View File

@@ -5,7 +5,7 @@ namespace AyaNova.Util
/// </summary>
internal static class AyaNovaVersion
{
public const string VersionString = "8.0.0-alpha.17";
public const string VersionString = "8.0.0-alpha.18";
public const string FullNameAndVersion = "AyaNova server " + VersionString;
}//eoc
}//eons