diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2022-01-27 19:19:19 +0200 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2022-01-27 19:19:19 +0200 |
commit | 6ebc3e1eaf093e80e72d478b23458e1404d863d7 (patch) | |
tree | dd5568cf52f4ab48a6e8a2b204ad05aaccaec477 /src/ui | |
parent | 8c36de3d076f35a6f78bd89f5b312dd92950e0bc (diff) |
DocumentWidget: Fixed crash while media players active
Diffstat (limited to 'src/ui')
-rw-r--r-- | src/ui/documentwidget.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ui/documentwidget.c b/src/ui/documentwidget.c index 4332ae8f..550777af 100644 --- a/src/ui/documentwidget.c +++ b/src/ui/documentwidget.c | |||
@@ -921,6 +921,7 @@ static void documentRunsInvalidated_DocumentView_(iDocumentView *d) { | |||
921 | d->hoverPre = NULL; | 921 | d->hoverPre = NULL; |
922 | d->hoverAltPre = NULL; | 922 | d->hoverAltPre = NULL; |
923 | d->hoverLink = NULL; | 923 | d->hoverLink = NULL; |
924 | clear_PtrArray(&d->visibleMedia); | ||
924 | iZap(d->visibleRuns); | 925 | iZap(d->visibleRuns); |
925 | iZap(d->renderRuns); | 926 | iZap(d->renderRuns); |
926 | } | 927 | } |