The SDL forums have moved to discourse.libsdl.org.
This is just a read-only archive of the previous forums, to keep old links working.


SDL Forum Index
SDL
Simple Directmedia Layer Forums
android mSingleton.finis()
Owen Alanzo Hogarth
Guest

I see this call mSingleton.finish(); spread about sdl android code in a few places, ex:

    public static void handleNativeExit()
    {
        SDLActivity.mSDLThread = null;
        mSingleton.finish();
    }



but I don't see where SDLActivity.finish is actually defined. Where is it and what does it do?
android mSingleton.finis()
hardcoredaniel
Guest

It is from the superclass Activity:

http://developer.android.com/reference/android/app/Activity.html#finish%28%29



---------- Původní zpráva ----------
Od: Owen Alanzo Hogarth
Komu: SDL Development List
Datum: 25. 8. 2015 10:47:14
Předmět: [SDL] android mSingleton.finis()
Quote:
I see this call mSingleton.finish(); spread about sdl android code in a few places, ex:

public static void handleNativeExit()
{
SDLActivity.mSDLThread = null;
mSingleton.finish();
}



but I don't see where SDLActivity.finish is actually defined. Where is it and what does it do?


_______________________________________________
SDL mailing list

http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
android mSingleton.finis()
Owen Alanzo Hogarth
Guest

Thank you for the quick response, this clears up a stumbling block I was having.

On Tue, Aug 25, 2015 at 7:34 PM, hardcoredaniel wrote:
Quote:
It is from the superclass Activity:

http://developer.android.com/reference/android/app/Activity.html#finish%28%29



---------- Původní zpráva ----------
Od: Owen Alanzo Hogarth
Komu: SDL Development List
Datum: 25. 8. 2015 10:47:14
Předmět: [SDL] android mSingleton.finis()
Quote:
I see this call mSingleton.finish(); spread about sdl android code in a few places, ex:

    public static void handleNativeExit()
    {
        SDLActivity.mSDLThread = null;
        mSingleton.finish();
    }



but I don't see where SDLActivity.finish is actually defined. Where is it and what does it do?




_______________________________________________
SDL mailing list

http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


_______________________________________________
SDL mailing list

http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org