Fixed issue #2071: TGitCache blocks Windows to eject USB drive
commit3956856e3e394a335ce63353446db3d6e145d71f
authorSup Yut Sum <ch3cooli@gmail.com>
Fri, 17 Jan 2014 13:56:53 +0000 (17 21:56 +0800)
committerSup Yut Sum <ch3cooli@gmail.com>
Fri, 17 Jan 2014 13:56:53 +0000 (17 21:56 +0800)
treea5ecedebe2e5cc74e969fcdb5a9303330c8c5282
parentf1141b671865ac342707965ae0999cc4ce1499a7
Fixed issue #2071: TGitCache blocks Windows to eject USB drive

Quit the program immediately as a workaround so the drive is released ASAP.
WM_CLOSE or PostQuitMessage is not fast enough to release the handles.

Signed-off-by: Sup Yut Sum <ch3cooli@gmail.com>
src/Changelog.txt
src/TGitCache/TGITCache.cpp