From 6e54088c9ef9e193cba58ed0d855c6cca09dfda3 Mon Sep 17 00:00:00 2001 From: Dmitry Marakasov Date: Fri, 20 Sep 2013 23:20:13 +0400 Subject: [PATCH] Add a note on that objects are freed --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index dc27e63..a5a527c 100644 --- a/README.md +++ b/README.md @@ -35,6 +35,8 @@ try { // Of course, C SDL2 API is still perfectly valid SDL_Delay(2000); + + // All SDL objects are released at this point or if an error occurs } catch (SDL2pp::Exception& e) { // Exception stores SDL_GetError() result std::cerr << "Exception: " << e.what() << std::endl;