Unregister HotReload handler when window is closed

This commit is contained in:
Bebo-Maker
2022-03-23 09:22:46 +01:00
parent 828bb86737
commit 0abb67b748
2 changed files with 13 additions and 6 deletions
+3 -3
View File
@@ -7,9 +7,9 @@ using QuestPDF.ReportSample;
using QuestPDF.ReportSample.Layouts;
using Colors = QuestPDF.Helpers.Colors;
// var model = DataSource.GetReport();
// var report = new StandardReport(model);
// report.ShowInPreviewer();
var model = DataSource.GetReport();
var report = new StandardReport(model);
report.ShowInPreviewer();
Document
.Create(container =>