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

Limit thread's scope to release the Object before detaching the thread - #14757

Merged
LukasPaczos merged 1 commit into
masterfrom
lp-snapshotter-tid-14747
May 24, 2019
Merged

LukasPaczos merged 1 commit into
masterfrom
lp-snapshotter-tid-14747

Conversation

@LukasPaczos

@LukasPaczos LukasPaczos commented May 24, 2019 •

Copy link
Copy Markdown
Contributor

Closes #14747.

Releases the thread's underlying Object before detaching the thread.

I'm currently unable to include a regression test because when the MapSnapshotter is run as part of the instrumentation test, the renderer doesn't return the snapshot and freezes. Test app examples work fine. This seems like a separate issue, it is the case even when checking out the code before #14450, investigating now.

/cc @tobrun

@LukasPaczos LukasPaczos added Android Mapbox Maps SDK for Android Core The cross-platform C++ core, aka mbgl labels May 24, 2019
@LukasPaczos LukasPaczos added this to the release-oolong milestone May 24, 2019
@LukasPaczos
LukasPaczos requested a review from tmpsantos May 24, 2019 10:10
@LukasPaczos
LukasPaczos force-pushed the lp-snapshotter-tid-14747 branch from 8e1e81b to 9aeec94 Compare May 24, 2019 11:04

@tmpsantos tmpsantos left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Nice catch 😉

@LukasPaczos
LukasPaczos merged commit 5e00a2a into master May 24, 2019
@LukasPaczos
LukasPaczos deleted the lp-snapshotter-tid-14747 branch May 24, 2019 11:52
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Android Mapbox Maps SDK for Android Core The cross-platform C++ core, aka mbgl

Projects

None yet

Development

Successfully merging this pull request may close these issues.

MapSnapshotter crash when running benchmarks

2 participants