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

Hardening map destruction #10811

Merged
merged 2 commits into from
Jan 2, 2018
Merged

Hardening map destruction #10811

merged 2 commits into from
Jan 2, 2018

Conversation

tobrun
Copy link
Member

@tobrun tobrun commented Jan 2, 2018

Follow up from #10804.
Fixes #10563.

cc @hashfunction

@tobrun tobrun added the Android Mapbox Maps SDK for Android label Jan 2, 2018
@tobrun tobrun added this to the android-v5.3.1 milestone Jan 2, 2018
@tobrun tobrun self-assigned this Jan 2, 2018
@tobrun tobrun merged commit 65203dc into master Jan 2, 2018
@tobrun tobrun deleted the tvn-destroy-map branch January 2, 2018 11:31
@tobrun tobrun mentioned this pull request Jan 10, 2018
23 tasks
}

nativeMapView = new NativeMapView(this, mapRenderer);
nativeMapView.resizeView(getMeasuredWidth(), getMeasuredHeight());
}

private void initRenderSurface() {
Copy link
Contributor

Choose a reason for hiding this comment

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

Small nit. But could we rename this to something like onSurfaceCreated? It doesn't really initialise the render surface.

Copy link
Member Author

Choose a reason for hiding this comment

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

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

Successfully merging this pull request may close these issues.

4 participants