mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-23 18:10:12 +01:00
This commit is contained in:
parent
c2ed8dc893
commit
e38eea5f96
1 changed files with 5 additions and 0 deletions
|
|
@ -523,6 +523,11 @@ export class Wnd {
|
|||
}
|
||||
return;
|
||||
}
|
||||
if (model instanceof Asset) {
|
||||
if (model.pdfObject) {
|
||||
model.pdfObject.pdfLoadingTask.destroy();
|
||||
}
|
||||
}
|
||||
model.send("closews", {});
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue