LAPTOP-SNT8I5JK\Boounion
2025-09-20 34f6893ffa45a2eeb3636605d5b7c6289d879aa4
SourceCode/Bond/Servo/CGlass.cpp
@@ -1,5 +1,6 @@
#include "stdafx.h"
#include "CGlass.h"
#include "Log.h"
namespace SERVO {
@@ -31,6 +32,7 @@
      if (m_pBuddy != nullptr) {
         m_pBuddy->release();
         m_pBuddy = nullptr;
      }
   }
@@ -320,8 +322,10 @@
   }
   bool CGlass::queue() {
      LOGI("CGlass::queue 01 %s", m_strID.c_str());
      if (m_state != GlsState::NoState) return false;
      markQueued();
      LOGI("CGlass::queue 02 %s", m_strID.c_str());
      return true;
   }
@@ -346,9 +350,11 @@
   }
   bool CGlass::complete() {
      LOGI("CGlass::complete 01 %s", m_strID.c_str());
      if (m_state != GlsState::InProcess && m_state != GlsState::Paused) return false;
      m_state = GlsState::Completed;
      markEnd();
      LOGI("CGlass::complete 02 %s", m_strID.c_str());
      return true;
   }