Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
Actor Framework
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
Operations
Operations
Metrics
Environments
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
cpp-libs
Actor Framework
Commits
1ad06ce2
Commit
1ad06ce2
authored
Jun 16, 2015
by
Dominik Charousset
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Clear pending responses in local_actor::cleanup
parent
98f05215
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
libcaf_core/src/local_actor.cpp
libcaf_core/src/local_actor.cpp
+2
-3
No files found.
libcaf_core/src/local_actor.cpp
View file @
1ad06ce2
...
...
@@ -155,9 +155,7 @@ void local_actor::request_sync_timeout_msg(const duration& d, message_id mid) {
if
(
!
d
.
valid
())
{
return
;
}
auto
sched_cd
=
detail
::
singletons
::
get_scheduling_coordinator
();
sched_cd
->
delayed_send
(
d
,
address
(),
this
,
mid
,
make_message
(
sync_timeout_msg
{}));
delayed_send_impl
(
mid
,
this
,
d
,
make_message
(
sync_timeout_msg
{}));
}
void
local_actor
::
handle_timeout
(
behavior
&
bhvr
,
uint32_t
timeout_id
)
{
...
...
@@ -844,6 +842,7 @@ void local_actor::cleanup(uint32_t reason) {
CAF_LOG_TRACE
(
CAF_ARG
(
reason
));
detail
::
sync_request_bouncer
f
{
reason
};
mailbox_
.
close
(
f
);
pending_responses_
.
clear
();
abstract_actor
::
cleanup
(
reason
);
// tell registry we're done
is_registered
(
false
);
...
...
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