浏览代码

add print test

leon 1 月之前
父节点
当前提交
b9be5eee98
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      src/nodes/draw/drawNode.cpp

+ 1 - 0
src/nodes/draw/drawNode.cpp

@@ -54,6 +54,7 @@ void DrawNode::work()
             }
         }
         if (!has_data) {
+            printf("draw wait data");
             std::unique_lock<std::mutex> lock(mutex_);
             cond_var_->wait_for(lock, std::chrono::milliseconds(100), [this] {
                 return !running_;  // 等待时检查退出条件