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
7b895416
Commit
7b895416
authored
Nov 29, 2018
by
Joseph Noir
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix newb stop function
parent
dd2bab79
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
0 deletions
+6
-0
libcaf_io/caf/io/newb.hpp
libcaf_io/caf/io/newb.hpp
+4
-0
libcaf_io/test/newb.cpp
libcaf_io/test/newb.cpp
+2
-0
No files found.
libcaf_io/caf/io/newb.hpp
View file @
7b895416
...
...
@@ -178,6 +178,8 @@ struct newb : public network::newb_base {
void
stop
()
override
{
CAF_PUSH_AID_FROM_PTR
(
this
);
CAF_LOG_TRACE
(
""
);
stop_reading
();
stop_writing
();
graceful_shutdown
();
}
...
...
@@ -501,6 +503,8 @@ struct newb_acceptor : network::newb_base {
void
stop
()
override
{
CAF_PUSH_AID_FROM_PTR
(
this
);
CAF_LOG_TRACE
(
""
);
stop_reading
();
stop_writing
();
graceful_shutdown
();
}
...
...
libcaf_io/test/newb.cpp
View file @
7b895416
...
...
@@ -239,6 +239,8 @@ CAF_TEST(spawn acceptor) {
exec_all
();
scoped_actor
self
{
sys
};
self
->
send
(
n
,
quit_atom
::
value
);
exec_all
();
}
CAF_TEST
(
spawn
newb
)
{
...
...
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