mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-27 22:03:31 +01:00
Merge branch 'maint-0.3.5' into maint-0.4.2
This commit is contained in:
commit
b0bfee8c78
5
changes/bug32884
Normal file
5
changes/bug32884
Normal file
@ -0,0 +1,5 @@
|
||||
o Minor bugfixes (embedded Tor):
|
||||
- When starting Tor any time after the first time in a process, register
|
||||
the thread in which it is running as the main thread. Previously, we
|
||||
only did this on Windows, which could lead to bugs like 23081 on
|
||||
non-Windows platforms. Fixes bug 32884; bugfix on 0.3.3.1-alpha.
|
@ -265,6 +265,6 @@ tor_threads_init(void)
|
||||
pthread_attr_setdetachstate(&attr_detached, PTHREAD_CREATE_DETACHED);
|
||||
tor_assert(ret2 == 0);
|
||||
threads_initialized = 1;
|
||||
}
|
||||
set_main_thread();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user