mirror of https://github.com/PCSX2/pcsx2.git
GS/SW: Fix use-after-free on worker thread shutdown
This commit is contained in:
parent
6e8897d62b
commit
14398da51f
|
@ -1211,7 +1211,6 @@ void GSRasterizerList::OnWorkerStartup(int i)
|
|||
|
||||
void GSRasterizerList::OnWorkerShutdown(int i)
|
||||
{
|
||||
PerformanceMetrics::SetGSSWThreadTimer(i, Common::ThreadCPUTimer());
|
||||
}
|
||||
|
||||
void GSRasterizerList::Queue(const GSRingHeap::SharedPtr<GSRasterizerData>& data)
|
||||
|
|
|
@ -197,8 +197,8 @@ protected:
|
|||
|
||||
GSRasterizerList(int threads, GSPerfMon* perfmon);
|
||||
|
||||
void OnWorkerStartup(int i);
|
||||
void OnWorkerShutdown(int i);
|
||||
static void OnWorkerStartup(int i);
|
||||
static void OnWorkerShutdown(int i);
|
||||
|
||||
public:
|
||||
virtual ~GSRasterizerList();
|
||||
|
|
Loading…
Reference in New Issue