refactor: convert tr_net_init_mgr to singleton (#6914)

This commit is contained in:
Yat Ho
2024-12-30 23:32:11 +08:00
committed by GitHub
parent 3842cec549
commit 131caa1239
13 changed files with 48 additions and 60 deletions

View File

@@ -306,7 +306,7 @@ void sigHandler(int signal)
int tr_main(int argc, char* argv[])
{
auto const init_mgr = tr_lib_init();
tr_lib_init();
tr_locale_set_global("");