summaryrefslogtreecommitdiff
path: root/vcl/osx/salnstimer.mm
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-03-10 12:52:36 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-03-10 12:53:13 +0100
commitbbd419d9bfa8fee66d3a9cfa8b592087e25da285 (patch)
treee00c75baef89d9605aeb5e7aca65eb0ff1ee793c /vcl/osx/salnstimer.mm
parent62c9eb97853dcdb89bf30983c5318c45ed8e977c (diff)
Avoid calls on null mpSalTimer on OS X
all three addressed places hit frequently now during "make check", likely related to recent changes to timer/idle code? Change-Id: I75963c707807c29db7865b11f9ed532b779765d8
Diffstat (limited to 'vcl/osx/salnstimer.mm')
-rw-r--r--vcl/osx/salnstimer.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/osx/salnstimer.mm b/vcl/osx/salnstimer.mm
index fe0e907cbda5..49c7526615ba 100644
--- a/vcl/osx/salnstimer.mm
+++ b/vcl/osx/salnstimer.mm
@@ -32,9 +32,9 @@
ImplSVData* pSVData = ImplGetSVData();
if( AquaSalTimer::bDispatchTimer )
{
+ YIELD_GUARD;
if( pSVData->mpSalTimer )
{
- YIELD_GUARD;
bool idle = true; // TODO
pSVData->mpSalTimer->CallCallback( idle );