| 284 | } |
| 285 | |
| 286 | void SetSteamPath(const std::string& path) { |
| 287 | std::lock_guard<std::mutex> lock(g_mutex); |
| 288 | g_steamPath = path; |
| 289 | if (!g_steamPath.empty() && g_steamPath.back() != '/') |
| 290 | g_steamPath += '/'; |
| 291 | } |
| 292 | |
| 293 | void Shutdown() { |
| 294 | int fd = g_watcherFd.exchange(-1, std::memory_order_acq_rel); |
nothing calls this directly
no outgoing calls
no test coverage detected