(thread)
| 613 | |
| 614 | |
| 615 | def clear_cached_thread_id(thread): |
| 616 | with _thread_id_lock: |
| 617 | try: |
| 618 | if thread.__pydevd_id__ != "console_main": |
| 619 | # The console_main is a special thread id used in the console and its id should never be reset |
| 620 | # (otherwise we may no longer be able to get its variables -- see: https://www.brainwy.com/tracker/PyDev/776). |
| 621 | del thread.__pydevd_id__ |
| 622 | except AttributeError: |
| 623 | pass |
| 624 | |
| 625 | |
| 626 | # Don't let threads be collected (so that id(thread) is guaranteed to be unique). |
no outgoing calls
no test coverage detected