File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -488,7 +488,7 @@ class Thread : public std::enable_shared_from_this<Thread>,
488
488
void ClearBackedThread () { m_backed_thread.reset (); }
489
489
490
490
// / Returns the thread that is backed by this thread, if any.
491
- lldb::ThreadSP GetBackedThread () const { return m_backed_thread; }
491
+ lldb::ThreadSP GetBackedThread () const { return m_backed_thread. lock () ; }
492
492
493
493
virtual bool SetBackingThread (const lldb::ThreadSP &thread_sp) {
494
494
return false ;
@@ -1370,7 +1370,7 @@ class Thread : public std::enable_shared_from_this<Thread>,
1370
1370
mutable std::unique_ptr<ThreadPlanStack> m_null_plan_stack_up;
1371
1371
1372
1372
// / The Thread backed by this thread, if any.
1373
- lldb::ThreadSP m_backed_thread;
1373
+ lldb::ThreadWP m_backed_thread;
1374
1374
1375
1375
private:
1376
1376
bool m_extended_info_fetched; // Have we tried to retrieve the m_extended_info
You can’t perform that action at this time.
0 commit comments