[android] - checking is renderer is not destroyed before delivering the snapshot
This commit is contained in:
@@ -37,11 +37,11 @@ public abstract class MapRenderer implements MapRendererScheduler {
|
||||
}
|
||||
|
||||
public void onPause() {
|
||||
nativeOnPause();
|
||||
// Implement if needed
|
||||
}
|
||||
|
||||
public void onResume() {
|
||||
nativeOnResume();
|
||||
// Implement if needed
|
||||
}
|
||||
|
||||
public void onStop() {
|
||||
@@ -124,10 +124,6 @@ public abstract class MapRenderer implements MapRendererScheduler {
|
||||
|
||||
private native void nativeRender();
|
||||
|
||||
private native void nativeOnResume();
|
||||
|
||||
private native void nativeOnPause();
|
||||
|
||||
private long frames;
|
||||
private long timeElapsed;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user