Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

Log functions assume valid ThreadContext #2029

Closed
ljbade opened this issue Aug 10, 2015 · 0 comments
Closed

Log functions assume valid ThreadContext #2029

ljbade opened this issue Aug 10, 2015 · 0 comments
Assignees
Labels

Comments

@ljbade
Copy link
Contributor

ljbade commented Aug 10, 2015

Currently the log functions assume there is a valid ThreadContext at https://github.com/mapbox/mapbox-gl-native/blob/master/src/mbgl/platform/log.cpp#L52

There should be a check to see if the ThreadContext is valid first so the log functions can be safely used from any thread.

Found while working on #1662

/cc @kkaefer

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant