Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
spdlog
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Libraries
spdlog
Commits
94d2556d
Commit
94d2556d
authored
Nov 24, 2014
by
Gabi Melman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update last exception moving from worker thread to user thread in async mode
parent
87c0770c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
include/spdlog/sinks/async_sink.h
include/spdlog/sinks/async_sink.h
+2
-3
No files found.
include/spdlog/sinks/async_sink.h
View file @
94d2556d
...
...
@@ -181,9 +181,8 @@ inline void spdlog::sinks::async_sink::shutdown(const log_clock::duration& timeo
inline
void
spdlog
::
sinks
::
async_sink
::
_push_sentry
()
{
std
::
shared_ptr
<
spdlog_ex
>
ex_copy
=
std
::
move
(
_last_backthread_ex
);
if
(
ex_copy
)
throw
*
ex_copy
;
if
(
_last_backthread_ex
)
throw
*
std
::
move
(
_last_backthread_ex
);
if
(
!
_active
)
throw
(
spdlog_ex
(
"async_sink not active"
));
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment