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
1f3d7203
Commit
1f3d7203
authored
Jun 23, 2015
by
Dominik Charousset
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix possible segfault in curl_fuse example
parent
99c3b1aa
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
examples/curl/curl_fuse.cpp
examples/curl/curl_fuse.cpp
+5
-1
No files found.
examples/curl/curl_fuse.cpp
View file @
1f3d7203
...
...
@@ -324,7 +324,11 @@ protected:
}
auto
worker_finished
=
[
=
]
{
auto
sender
=
current_sender
();
auto
i
=
std
::
find
(
busy_worker_
.
begin
(),
busy_worker_
.
end
(),
sender
);
auto
last
=
busy_worker_
.
end
();
auto
i
=
std
::
find
(
busy_worker_
.
begin
(),
last
,
sender
);
if
(
i
==
last
)
{
return
;
}
idle_worker_
.
push_back
(
*
i
);
busy_worker_
.
erase
(
i
);
print
()
<<
"worker is done"
<<
color
::
reset_endl
;
...
...
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