MCPcopy Create free account
hub / github.com/F-Stack/f-stack / Reset

Method Reset

adapter/micro_thread/mt_action.cpp:43–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41}
42
43void IMtAction::Reset()
44{
45 bool force_free = false;
46 if (_errno != ERR_NONE) {
47 force_free = true;
48 }
49
50 if (_conn) {
51 ConnectionMgr::Instance()->FreeConnection(_conn, force_free);
52 _conn = NULL;
53 }
54}
55
56KqueuerObj* IMtAction::GetNtfyObj() {
57 IMtConnection* conn = GetIConnection();

Callers

nothing calls this directly

Calls 1

FreeConnectionMethod · 0.80

Tested by

no test coverage detected