MCPcopy Create free account
hub / github.com/LemonOSProject/LemonOS / Destroy

Method Destroy

Kernel/src/objects/service.cpp:53–65  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

51}
52
53void Service::Destroy(){
54 interfaces.clear();
55
56 auto& services = ServiceFS::Instance()->services;
57 auto it = services.begin();
58 while(it != services.end()){
59 if(*it == this){
60 services.remove(it);
61 break;
62 }
63 it++;
64 }
65}
66
67long Service::CreateInterface(FancyRefPtr<MessageInterface>& rInterface, const char* name, uint16_t msgSize){
68 if(strchr(name, '/')){

Callers 2

EndProcessFunction · 0.45
SysKernelObjectDestroyFunction · 0.45

Calls 4

clearMethod · 0.45
beginMethod · 0.45
endMethod · 0.45
removeMethod · 0.45

Tested by

no test coverage detected