Permalink
Browse files

Comment, minor cleanup

  • Loading branch information...
hrydgard committed Dec 1, 2017
1 parent 97ab91c commit 04515946e621ed9723a3a4f91eb53ff731718433
Showing with 5 additions and 3 deletions.
  1. +2 −0 android/src/org/ppsspp/ppsspp/NativeActivity.java
  2. +1 −1 ext/native/ui/screen.cpp
  3. +2 −2 ext/native/ui/screen.h
@@ -661,6 +661,8 @@ protected void onDestroy() {
mSurfaceView.onDestroy();
mSurfaceView = null;
}
// TODO: Can we ensure that the GL thread has stopped rendering here?
// I've seen crashes that seem to indicate that sometimes it hasn't...
NativeApp.audioShutdown();
if (shuttingDown || isFinishing()) {
unregisterCallbacks();
@@ -181,7 +181,7 @@ void ScreenManager::shutdown() {
delete x->screen;
stack_.clear();
delete nextScreen_;
nextScreen_ = 0;
nextScreen_ = nullptr;
}
void ScreenManager::push(Screen *screen, int layerFlags) {
@@ -42,9 +42,9 @@ namespace Draw {
class Screen {
public:
Screen() : screenManager_(0) { }
Screen() : screenManager_(nullptr) { }
virtual ~Screen() {
screenManager_ = 0;
screenManager_ = nullptr;
}
virtual void onFinish(DialogResult reason) {}

0 comments on commit 0451594

Please sign in to comment.