Introduce guarded version of CGitByteArray
commitbbb48aaf4ffc08e8182180897821846b4862feb2
authorSven Strickroth <email@cs-ware.de>
Sat, 28 Feb 2015 20:02:25 +0000 (28 21:02 +0100)
committerSven Strickroth <email@cs-ware.de>
Sat, 28 Feb 2015 20:25:31 +0000 (28 21:25 +0100)
tree9af9c8a423e04b31c2fe98b190ca9f5ebf1bc796
parent2344ae9557809330204d0b35a35d9b25e173d08d
Introduce guarded version of CGitByteArray

Rationale behind this is, that we cannot easily add "m_critSec.Term()" in the CGitByteArray destructor as CGitByteArray gets cloned in e.g. TortoiseGitBlame and, thus, the CComCriticalSection double "freed".

Signed-off-by: Sven Strickroth <email@cs-ware.de>
src/Git/gittype.h
src/TortoiseProc/ProgressDlg.cpp
src/TortoiseProc/ProgressDlg.h
src/TortoiseProc/SyncDlg.h