mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-10 21:11:15 -03:00
Fix lots of bugs related to the static analyzer
Improved how screen.cpp interacts with output_set_writer()
This commit is contained in:
@@ -202,9 +202,9 @@ void iothread_drain_all(void) {
|
||||
ASSERT_IS_NOT_FORKED_CHILD();
|
||||
if (s_active_thread_count == 0)
|
||||
return;
|
||||
int thread_count = s_active_thread_count;
|
||||
#define TIME_DRAIN 0
|
||||
#if TIME_DRAIN
|
||||
int thread_count = s_active_thread_count;
|
||||
double now = timef();
|
||||
#endif
|
||||
while (s_active_thread_count > 0) {
|
||||
|
||||
Reference in New Issue
Block a user