You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
tqdm when instantiated creates a new daemon thread and unfortunately setting disable to False does not prevent this thread from being created, as one would expect.
For now we can manually set monitor_interval to 0 for the instantiated tqdm object when the intention is to disable tqdm progress altogether e.g.
The following code snippets create daemon threads, which results in unnecessary, long running threads when calling this code from the IDA Pro plugin:
https://github.com/fireeye/capa/blob/bb7001f5f2ec02a28ed706435aea1d7e71291e8f/capa/main.py#L369
and
https://github.com/fireeye/capa/blob/bb7001f5f2ec02a28ed706435aea1d7e71291e8f/capa/main.py#L118
tqdm
when instantiated creates a new daemon thread and unfortunately settingdisable
toFalse
does not prevent this thread from being created, as one would expect.For now we can manually set
monitor_interval
to0
for the instantiatedtqdm
object when the intention is to disabletqdm
progress altogether e.g.https://github.com/fireeye/capa/blob/bb7001f5f2ec02a28ed706435aea1d7e71291e8f/capa/ida/plugin/form.py#L531-L533
The text was updated successfully, but these errors were encountered: