Skip to content
This repository was archived by the owner on May 21, 2023. It is now read-only.

Fix memory leaks for GPU thread snd web server thread#8

Open
AlexandrShcherbakov wants to merge 2 commits intozeux:upstreamfrom
AlexandrShcherbakov:upstream
Open

Fix memory leaks for GPU thread snd web server thread#8
AlexandrShcherbakov wants to merge 2 commits intozeux:upstreamfrom
AlexandrShcherbakov:upstream

Conversation

@AlexandrShcherbakov
Copy link
Copy Markdown

No description provided.

{
//for meta, store the count + 3, which is the tick part
nLogType = 3 + MicroProfileLogGetTick(pLog->Log[k]);
MicroProfileGetMutex().unlock();
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is definitely not thread-safe since pLog can be deallocated if the thread exits. It also doesn't seem related to the PR in question, and may carry a large cost.

@zeux
Copy link
Copy Markdown
Owner

zeux commented Mar 5, 2019

I don't think this is targeting the correct branch; it should target master.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants