Swap NpWebApi global mutex to recursive (#4529)

It's recursive in the actual library, and since our implementation in thoroughly based on the actual library, this is needed for our code to function appropriately.
This commit is contained in:
Stephen Miller 2026-06-06 02:07:22 -04:00 committed by GitHub
parent 5b8b66ab12
commit deb9908452
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -12,7 +12,7 @@
namespace Libraries::Np::NpWebApi {
static std::mutex g_global_mutex;
static std::recursive_mutex g_global_mutex;
static std::map<s32, OrbisNpWebApiContext*> g_contexts;
static s32 g_library_context_count = 0;
static s32 g_user_context_count = 0;