mirror of
https://github.com/Comfy-Org/ComfyUI-Manager.git
synced 2026-01-11 06:30:48 +08:00
Merge d98edd3d69 into ac122a1db0
This commit is contained in:
commit
8fd01cf918
@ -370,10 +370,13 @@ try:
|
|||||||
pass
|
pass
|
||||||
|
|
||||||
with std_log_lock:
|
with std_log_lock:
|
||||||
if self.is_stdout:
|
try:
|
||||||
original_stdout.flush()
|
if self.is_stdout:
|
||||||
else:
|
original_stdout.flush()
|
||||||
original_stderr.flush()
|
else:
|
||||||
|
original_stderr.flush()
|
||||||
|
except (OSError, ValueError):
|
||||||
|
pass
|
||||||
|
|
||||||
def close(self):
|
def close(self):
|
||||||
self.flush()
|
self.flush()
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user