summaryrefslogtreecommitdiff
path: root/include/vcl/ITiledRenderable.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'include/vcl/ITiledRenderable.hxx')
-rw-r--r--include/vcl/ITiledRenderable.hxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/vcl/ITiledRenderable.hxx b/include/vcl/ITiledRenderable.hxx
index 95775be55913..aa5e0c113e6f 100644
--- a/include/vcl/ITiledRenderable.hxx
+++ b/include/vcl/ITiledRenderable.hxx
@@ -101,6 +101,9 @@ public:
static void LOKPostAsyncEvent(void* pEv, void*)
{
LOKAsyncEventData* pLOKEv = static_cast<LOKAsyncEventData*>(pEv);
+ if (pLOKEv->mpWindow->IsDisposed())
+ return;
+
switch (pLOKEv->mnEvent)
{
case VCLEVENT_WINDOW_KEYINPUT: