Explorar o código

add print test

leon hai 1 mes
pai
achega
b9be5eee98
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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_;  // 等待时检查退出条件