瀏覽代碼

Added note on atexit removal.

Camilla Berglund 12 年之前
父節點
當前提交
3ee5b0e788
共有 1 個文件被更改,包括 7 次插入0 次删除
  1. 7 0
      docs/moving.dox

+ 7 - 0
docs/moving.dox

@@ -122,6 +122,13 @@ or something else, are nowadays expected to be good desktop citizens and allow
 these hotkeys to function even when running in fullscreen mode.
 these hotkeys to function even when running in fullscreen mode.
 
 
 
 
+@subsection moving_terminate Automatic termination
+
+@ref glfwTerminate is no longer registered with `atexit` at initialization.  To
+properly release all resources allocated by GLFW, you should therefore call @ref
+glfwTerminate yourself before exiting.
+
+
 @section moving_changed Changes to existing features
 @section moving_changed Changes to existing features
 
 
 @subsection moving_window_handles Window handles
 @subsection moving_window_handles Window handles