bombomby / optick

C++ Profiler For Games

Home Page:https://optick.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

multithread event crash when stop capture session

wppr opened this issue · comments

when I stop captrue,my program crashes.
I only have a MainFrame Event and a task event which run in multithread.

image
when I comment this event it runs well
image

and it break at
image

I find the problem. the Core::storage is a pointer to the storage in ThreadEntry.And when it is destroyed in CleanupThreadsAndFibers .so the pointer is wrong . I add this and it seems right now
image