File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed
lib/metasploit/framework/spec/threads Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -69,11 +69,6 @@ def self.configure!
69
69
end
70
70
71
71
thread_list = Metasploit ::Framework ::Spec ::Threads ::Suite . non_debugger_thread_list
72
-
73
- thread_uuids = thread_list . map { |thread |
74
- thread [ Metasploit ::Framework ::Spec ::Threads ::Suite ::UUID_THREAD_LOCAL_VARIABLE ]
75
- } . compact
76
-
77
72
thread_count = thread_list . count
78
73
79
74
if thread_count > EXPECTED_THREAD_COUNT_AROUND_SUITE
@@ -82,6 +77,10 @@ def self.configure!
82
77
if LOG_PATHNAME . exist?
83
78
caller_by_thread_uuid = Metasploit ::Framework ::Spec ::Threads ::Suite . caller_by_thread_uuid
84
79
80
+ thread_uuids = thread_list . map { |thread |
81
+ thread [ Metasploit ::Framework ::Spec ::Threads ::Suite ::UUID_THREAD_LOCAL_VARIABLE ]
82
+ } . compact
83
+
85
84
thread_uuids . each do |thread_uuid |
86
85
caller = caller_by_thread_uuid [ thread_uuid ]
87
86
You can’t perform that action at this time.
0 commit comments