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
b85e2d99
Commit
b85e2d99
authored
Apr 20, 2014
by
Dominik Charousset
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
catch redundant KILL_PROXY messages
parent
a306fff8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
5 deletions
+10
-5
src/remote_actor_proxy.cpp
src/remote_actor_proxy.cpp
+10
-5
No files found.
src/remote_actor_proxy.cpp
View file @
b85e2d99
...
@@ -157,11 +157,16 @@ void remote_actor_proxy::enqueue(msg_hdr_cref hdr, any_tuple msg,
...
@@ -157,11 +157,16 @@ void remote_actor_proxy::enqueue(msg_hdr_cref hdr, any_tuple msg,
"enqueue$kill_proxy_helper"
,
"enqueue$kill_proxy_helper"
,
"KILL_PROXY "
<<
to_string
(
_this
->
address
())
"KILL_PROXY "
<<
to_string
(
_this
->
address
())
<<
" with exit reason "
<<
reason
);
<<
" with exit reason "
<<
reason
);
_this
->
cleanup
(
reason
);
if
(
_this
->
m_pending_requests
.
closed
())
{
detail
::
sync_request_bouncer
f
{
reason
};
CPPA_LOG_WARNING
(
"received KILL_PROXY twice"
);
_this
->
m_pending_requests
.
close
([
&
](
const
sync_request_info
&
e
)
{
}
f
(
e
.
sender
,
e
.
mid
);
else
{
});
_this
->
cleanup
(
reason
);
detail
::
sync_request_bouncer
f
{
reason
};
_this
->
m_pending_requests
.
close
([
&
](
const
sync_request_info
&
e
)
{
f
(
e
.
sender
,
e
.
mid
);
});
}
});
});
}
}
else
forward_msg
(
hdr
,
move
(
msg
));
else
forward_msg
(
hdr
,
move
(
msg
));
...
...
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