This repository has been archived by the owner on Aug 8, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
assert(uv_thread_self() == map_thread) #623
Labels
Comments
Yeah came across this problem in a few places with other functions. |
mikemorris
added a commit
that referenced
this issue
Nov 26, 2014
mikemorris
added a commit
that referenced
this issue
Dec 5, 2014
mikemorris
added a commit
that referenced
this issue
Dec 5, 2014
mikemorris
added a commit
that referenced
this issue
Dec 8, 2014
4 tasks
In the |
Doh, this is apparently only happening in |
@mikemorris assert() compiles to a noop on Release builds |
Hah, that would do it, was that a recent change or has it always been that way @ljbade? |
Merged
That's pretty common native behavior. |
|
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
These asserts (scattered throughout a few different files) should not be expected to pass when the
Map::render
is intentionally called in a different thread than where the map object was initially created (such as an async render method in Node.js bindings). I saw some logic around anasync_render
function, but that seems to be tied into the libuv implementation in mapbox-gl-native a bit too closely. Should this either be refactored for external use, or should these asserts be conditionally disabled some other way?The text was updated successfully, but these errors were encountered: