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);