diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-11-24 10:01:32 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2017-11-24 12:14:57 +0100 |
commit | 793b69fe73eb2d6ae4c42f04a66df8c180e42886 (patch) | |
tree | 5a4ea280120a31ed2c12c619e3835c69cb8b5ef0 /vcl/source/app | |
parent | d26ebaa2d45dfdd9437f1c24abc119a69d989654 (diff) |
don't worry about dangling timers at fuzzer exit
Change-Id: I9e18257f7e6e0438c6ce2801c0c2f8885b060870
Reviewed-on: https://gerrit.libreoffice.org/45214
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl/source/app')
-rw-r--r-- | vcl/source/app/scheduler.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/vcl/source/app/scheduler.cxx b/vcl/source/app/scheduler.cxx index 8fd26ec79a55..2ef3c87d83f8 100644 --- a/vcl/source/app/scheduler.cxx +++ b/vcl/source/app/scheduler.cxx @@ -23,6 +23,7 @@ #include <svdata.hxx> #include <tools/time.hxx> +#include <unotools/configmgr.hxx> #include <vcl/scheduler.hxx> #include <vcl/idle.hxx> #include <saltimer.hxx> @@ -575,7 +576,7 @@ Task::~Task() COVERITY_NOEXCEPT_FALSE mpSchedulerData->mpTask = nullptr; } else - assert( nullptr == mpSchedulerData ); + assert(nullptr == mpSchedulerData || utl::ConfigManager::IsFuzzing()); } /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |