mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-05-05 19:09:23 -05:00
Adapt to changes in Ghoul regarding string_view
Fix compile error if Trace logging is not enabled Limit the number of threads to a maximum of 4 for asset initialization
This commit is contained in:
@@ -207,10 +207,14 @@ void Connection::handleJson(const nlohmann::json& json) {
|
||||
}
|
||||
|
||||
void Connection::sendMessage(const std::string& message) {
|
||||
ZoneScoped
|
||||
|
||||
_socket->putMessage(message);
|
||||
}
|
||||
|
||||
void Connection::sendJson(const nlohmann::json& json) {
|
||||
ZoneScoped
|
||||
|
||||
sendMessage(json.dump());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user