Skip to content

Conversation

@sune-ext-lyngby
Copy link

It looks like we have a memory leak if the event queue is full.
In that case, I haven't been able to find who should deallocate the
queue event object, so we that should probably happen here.

It looks like we have a memory leak if the event queue is full.
In that case, I haven't been able to find who should deallocate the
queue event object, so we that should probably happen here.
@sune-ext-lyngby
Copy link
Author

Untested; haven't even built tested it

Copy link

@MichaelRasmussn MichaelRasmussn left a comment

Choose a reason for hiding this comment

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

LGTM

@sune-ext-lyngby
Copy link
Author

After reading and re-reading, it looks like that the id will always be valid, and the if block introduced in 24e93e6 is dead code. Though a bit more eyes would be nice.

I think we should roll those if blocks of that changeset back instead.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants