diff options
Diffstat (limited to 'src/3rdParty/efsw/Thread.cpp')
-rw-r--r--[-rwxr-xr-x] | src/3rdParty/efsw/Thread.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/3rdParty/efsw/Thread.cpp b/src/3rdParty/efsw/Thread.cpp index e3f0fa0..cfa88b4 100755..100644 --- a/src/3rdParty/efsw/Thread.cpp +++ b/src/3rdParty/efsw/Thread.cpp | |||
@@ -34,7 +34,8 @@ void Thread::terminate() { | |||
34 | } | 34 | } |
35 | 35 | ||
36 | void Thread::run() { | 36 | void Thread::run() { |
37 | mEntryPoint->run(); | 37 | if ( mEntryPoint ) |
38 | mEntryPoint->run(); | ||
38 | } | 39 | } |
39 | 40 | ||
40 | } // namespace efsw | 41 | } // namespace efsw |