-finally fixed the crashing issue. it turns out EventLoop::exec()
 was calling vidList.removeLast() on an empty list every now and
 then, causing qt to fatal assert. I removed the line since it is
 not even needed.
This commit is contained in:
Zii 2023-06-11 09:09:49 -04:00
parent 510bdda64c
commit a493c7da5d
2 changed files with 1 additions and 2 deletions

View File

@ -323,7 +323,6 @@ bool EventLoop::exec()
} }
vidList.append(backwardFacingFiles("live", ".ts", event.timeStamp, maxFiles / 2)); vidList.append(backwardFacingFiles("live", ".ts", event.timeStamp, maxFiles / 2));
vidList.removeLast();
vidList.append(forwardFacingFiles("live", ".ts", event.timeStamp, maxFiles / 2)); vidList.append(forwardFacingFiles("live", ".ts", event.timeStamp, maxFiles / 2));
} }

View File

@ -29,7 +29,7 @@
using namespace std; using namespace std;
#define APP_VER "3.0.t16" #define APP_VER "3.0.t17"
#define APP_NAME "Motion Watch" #define APP_NAME "Motion Watch"
#define APP_BIN "mow" #define APP_BIN "mow"
#define REC_LOG_NAME "rec_log_lines.html" #define REC_LOG_NAME "rec_log_lines.html"