How to reproduce:
1. Open kicad\share\demos\video\video.pro
2. Start PCBNew
3. Switch to OpenGL
4. Try to close Window:
5. Status Bar: Shows Pads, Vias, etc = 0, except Net = 1
6. Window doesnt close.
7. Press F9 --> Empty Drawing Sheet
8. Try to close PCBNew Window again --> Crash
Application: kicad
Version: (2015-08-09 BZR 6077)-product release build
wxWidgets: Version 3.0.0 (debug,wchar_t,compiler with C++ ABI 1002,GCC 4.8.2,wx containers,compatible with 2.8)
Platform: Windows 7 (build 7601, Service Pack 1), 64-bit edition, 64 bit, Little endian, wxMSW
Boost version: 1.54.0
USE_WX_GRAPHICS_CONTEXT=OFF
USE_WX_OVERLAY=OFF
KICAD_SCRIPTING=ON
KICAD_SCRIPTING_MODULES=ON
KICAD_SCRIPTING_WXPYTHON=ON
USE_FP_LIB_TABLE=HARD_CODED_ON
BUILD_GITHUB_PLUGIN=ON
Maybe related to Bug #1483015 ?