Skip to content

Commit

Permalink
libcore|Log: Remove unnecessary atexit call
Browse files Browse the repository at this point in the history
  • Loading branch information
skyjake committed Sep 1, 2019
1 parent 3084810 commit beadf7f
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion doomsday/libs/core/src/core/log.cpp
Expand Up @@ -768,7 +768,6 @@ Log &Log::threadLog()
if (!threadLogKey)
{
tss_create(&threadLogKey, deleteLog);
atexit(destroyThreadLog); // at end of thread
}
Log *log = static_cast<Log *>(tss_get(threadLogKey));
if (!log)
Expand Down

0 comments on commit beadf7f

Please sign in to comment.