summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/app/salusereventlist.cxx7
-rw-r--r--vcl/source/app/scheduler.cxx1
2 files changed, 8 insertions, 0 deletions
diff --git a/vcl/source/app/salusereventlist.cxx b/vcl/source/app/salusereventlist.cxx
index 088bc141f5a6..0321fc29e9fd 100644
--- a/vcl/source/app/salusereventlist.cxx
+++ b/vcl/source/app/salusereventlist.cxx
@@ -103,6 +103,13 @@ bool SalUserEventList::DispatchUserEvents( bool bHandleAllCurrentEvents )
continue;
}
+ /*
+ * 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.
+ * See also Scheduler::ProcessTaskScheduling
+ */
#ifndef IOS
try
#endif
diff --git a/vcl/source/app/scheduler.cxx b/vcl/source/app/scheduler.cxx
index e8ad527ec949..f9fc3dc01fc6 100644
--- a/vcl/source/app/scheduler.cxx
+++ b/vcl/source/app/scheduler.cxx
@@ -479,6 +479,7 @@ bool Scheduler::ProcessTaskScheduling()
* 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.
+ * See also SalUserEventList::DispatchUserEvents
*/
try
{