From 6640a2ab7a3e61f0747b495408a1411952cf72ab Mon Sep 17 00:00:00 2001 From: Jannis Date: Thu, 15 Aug 2024 10:29:28 +0000 Subject: [PATCH] Update IDEApp.bf --- IDE/src/IDEApp.bf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/IDE/src/IDEApp.bf b/IDE/src/IDEApp.bf index b39d7d0c..02f0d900 100644 --- a/IDE/src/IDEApp.bf +++ b/IDE/src/IDEApp.bf @@ -11491,6 +11491,8 @@ namespace IDE public void QueueProfiling(int threadId, String desc, int sampleRate) { + if(mExecutionQueue.IsEmpty) + return; var profileCmd = new ProfileCmd(); profileCmd.mThreadId = threadId; profileCmd.mDesc = new String(desc);