Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
libnice
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
cpp-libs
libnice
Commits
b80c112d
Commit
b80c112d
authored
Feb 18, 2014
by
Olivier Crête
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
outputstream: Trigger the pollable source on error or removal
parent
11ff575f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
agent/agent.c
agent/agent.c
+1
-1
agent/component.c
agent/component.c
+4
-1
No files found.
agent/agent.c
View file @
b80c112d
...
...
@@ -992,7 +992,7 @@ static void priv_pseudo_tcp_error (NiceAgent *agent, Stream *stream,
Component
*
component
)
{
if
(
component
->
tcp_writable_cancellable
)
{
g_cancellable_
reset
(
component
->
tcp_writable_cancellable
);
g_cancellable_
cancel
(
component
->
tcp_writable_cancellable
);
g_clear_object
(
&
component
->
tcp_writable_cancellable
);
}
...
...
agent/component.c
View file @
b80c112d
...
...
@@ -188,7 +188,10 @@ component_free (Component *cmp)
g_source_unref
(
cmp
->
tcp_clock
);
cmp
->
tcp_clock
=
NULL
;
}
g_clear_object
(
&
cmp
->
tcp_writable_cancellable
);
if
(
cmp
->
tcp_writable_cancellable
)
{
g_cancellable_cancel
(
cmp
->
tcp_writable_cancellable
);
g_clear_object
(
&
cmp
->
tcp_writable_cancellable
);
}
if
(
cmp
->
tcp
)
{
pseudo_tcp_socket_close
(
cmp
->
tcp
,
TRUE
);
g_clear_object
(
&
cmp
->
tcp
);
...
...
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