| 51 | } |
| 52 | |
| 53 | void 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 | |
| 67 | long Service::CreateInterface(FancyRefPtr<MessageInterface>& rInterface, const char* name, uint16_t msgSize){ |
| 68 | if(strchr(name, '/')){ |
no test coverage detected