[chronojump] Fixed possible crash in new runInterval double contacts
- From: Xavier de Blas <xaviblas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump] Fixed possible crash in new runInterval double contacts
- Date: Fri, 6 Apr 2018 18:04:50 +0000 (UTC)
commit 4851b4ffefcd22bdfb15b4db161fea4a36225249
Author: Xavier de Blas <xaviblas gmail com>
Date: Fri Apr 6 20:00:02 2018 +0200
Fixed possible crash in new runInterval double contacts
src/execute/run.cs | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/src/execute/run.cs b/src/execute/run.cs
index c389893..026daa4 100644
--- a/src/execute/run.cs
+++ b/src/execute/run.cs
@@ -872,7 +872,9 @@ public class RunIntervalExecute : RunExecute
protected override void updateRunPhaseInfoManage()
{
- runDC.UpdateList();
+ //check if it's defined at beginning of race
+ if(runDC != null)
+ runDC.UpdateList();
}
//this will be protected and in run simple execute class
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]