MCPcopy Create free account
hub / github.com/WarmUpTill/SceneSwitcher / DisconnectAll

Method DisconnectAll

plugins/twitch/chat-connection.cpp:343–351  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

341 TwitchChatConnection::_chatMap = {};
342
343void TwitchChatConnection::DisconnectAll()
344{
345 for (auto &[key, weakConn] : _chatMap) {
346 auto conn = weakConn.lock();
347 if (conn) {
348 conn->Disconnect();
349 }
350 }
351}
352
353static bool setupChatConnectionSupport()
354{

Callers

nothing calls this directly

Calls 1

DisconnectMethod · 0.45

Tested by

no test coverage detected