| 224 | } |
| 225 | |
| 226 | void DebuggerService::willLog(LogType type, const std::string& message) { |
| 227 | std::lock_guard<Mutex> guard(_mutex); |
| 228 | for (const auto& daemonClient : _clients) { |
| 229 | daemonClient->sendLog(type, message); |
| 230 | } |
| 231 | } |
| 232 | |
| 233 | void DebuggerService::didReceiveUpdatedResources(const SharedVector<Shared<Resource>>& resources) { |
| 234 | std::lock_guard<Mutex> lock(_mutex); |