MCPcopy Create free account
hub / github.com/Tencent/tgfx / UnRegisterCustomProtocol

Method UnRegisterCustomProtocol

src/core/utils/Stream.cpp:169–175  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

167}
168
169void StreamFactory::UnRegisterCustomProtocol(const std::string& customProtocol) {
170 if (customProtocol.empty()) {
171 return;
172 }
173 std::lock_guard<std::mutex> autoLock(locker);
174 customProtocolsMap.erase(customProtocol);
175}
176
177} // namespace tgfx

Callers

nothing calls this directly

Calls 1

emptyMethod · 0.45

Tested by

no test coverage detected