History

Remove exit-time destructor

Tom Anderson committed 8 years ago

Commit 628b0811 parent dd44eea1 file · +2 −2Browse files

Showing the changes to codec/common/src/WelsThreadPool.cpp (1 of 1 file). Show all

Unified · Split

codec/common/src/WelsThreadPool.cpp+2−2
@@ -46,8 +46,8 @@ namespace WelsCommon { · 45 unmodified lines
4646 namespace {
4747
4848 CWelsLock& GetInitLock() {
49− static CWelsLock initLock;
50− return initLock;
49+ static CWelsLock *initLock = new CWelsLock;
50+ return *initLock;
5151 }
5252
5353 }

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t