diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2020-08-01 13:18:18 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-08-05 08:26:17 +0200 |
commit | 29ad99649866ffed13ea0936e9daf51463a04d92 (patch) | |
tree | 5b291c853a2f03100c42d9dbdddc8e128df4bf11 /vcl | |
parent | 8c067a96210992bef666a96d980c2c77ae223626 (diff) |
document the abort in ProcessTaskScheduling
Change-Id: I8a30e9abbf437cdf4f91a14755e5cc639dd172b5
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/99937
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/app/scheduler.cxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/vcl/source/app/scheduler.cxx b/vcl/source/app/scheduler.cxx index aa716f88b763..fa18087e9fd8 100644 --- a/vcl/source/app/scheduler.cxx +++ b/vcl/source/app/scheduler.cxx @@ -473,6 +473,12 @@ bool Scheduler::ProcessTaskScheduling() // invoke the task sal_uInt32 nLockCount = Unlock( true ); + /* + * Current policy is that scheduler tasks aren't allowed to throw an exception. + * Because otherwise the exception is caught somewhere totally unrelated. + * TODO Ideally we could capture a proper backtrace and feed this into breakpad, + * which is do-able, but requires writing some assembly. + */ try { pTask->Invoke(); |