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

Tidy up missing JNI deletes - #2209

Merged
ljbade merged 1 commit into
masterfrom
android-bounds-tidy
Sep 2, 2015
Merged

ljbade merged 1 commit into
masterfrom
android-bounds-tidy

Conversation

@ljbade

@ljbade ljbade commented Aug 31, 2015

Copy link
Copy Markdown
Contributor

No description provided.

@incanus

incanus commented Sep 1, 2015

Copy link
Copy Markdown
Contributor

This is good; thanks @ljbade. I was thinking the deletes referred to cleanup only of used classes, but rather it's a cleanup of all prior allocations.

This seems ripe for consolidation into common setup/teardown routines. It feels like so much of jni.cpp is boilerplate code that is prone to this sort of error.

@incanus incanus mentioned this pull request Sep 1, 2015
@ljbade

ljbade commented Sep 1, 2015

Copy link
Copy Markdown
Contributor Author

@incanus Yeah the JNI stuff is not easily scalable.

@ljbade
ljbade force-pushed the android-bounds-tidy branch from d4cb6c3 to f772973 Compare September 2, 2015 00:20
ljbade pushed a commit that referenced this pull request Sep 2, 2015
@ljbade
ljbade merged commit fcbc18c into master Sep 2, 2015
@ljbade
ljbade deleted the android-bounds-tidy branch September 2, 2015 00:50
AndwareSsj pushed a commit to AndwareSsj/mapbox-gl-native that referenced this pull request Nov 6, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants