Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/InternRobotics/OpenHomie
/ Clear
Method
Clear
HomieDeploy/unitree_sdk2/g1_control.cpp:53–56 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
51
}
52
53
void Clear() {
54
std::unique_lock<std::shared_mutex> lock(mutex);
55
data = nullptr;
56
}
57
58
private:
59
std::shared_ptr<T> data;
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected