Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(3370)

Issue 4675074: Remove the callback on destroy. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 11 months ago by Yusuke Sato
Modified:
12 years, 11 months ago
Reviewers:
shawn.p.huang, Peng Huang, Peng
Base URL:
git@github.com:ibus/ibus.git@master
Visibility:
Public.

Description

Remove the callback on destroy. BUG=crosbug.com/17293 TEST=src/tests/ibus-bus.c

Patch Set 1 #

Total comments: 3

Patch Set 2 : review fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -0 lines) Patch
M src/ibusbus.c View 1 1 chunk +4 lines, -0 lines 0 comments Download
M src/tests/ibus-bus.c View 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 6
Yusuke Sato
12 years, 11 months ago (2011-07-10 12:14:02 UTC) #1
Peng Huang
http://codereview.appspot.com/4675074/diff/1/src/ibusbus.c File src/ibusbus.c (right): http://codereview.appspot.com/4675074/diff/1/src/ibusbus.c#newcode403 src/ibusbus.c:403: bus); _connection_closed_cb callback will releases some resources. If we ...
12 years, 11 months ago (2011-07-10 14:55:24 UTC) #2
Yusuke Sato
http://codereview.appspot.com/4675074/diff/1/src/ibusbus.c File src/ibusbus.c (right): http://codereview.appspot.com/4675074/diff/1/src/ibusbus.c#newcode403 src/ibusbus.c:403: bus); On 2011/07/10 14:55:24, Peng Huang wrote: > _connection_closed_cb ...
12 years, 11 months ago (2011-07-10 15:48:03 UTC) #3
Peng Huang
http://codereview.appspot.com/4675074/diff/1/src/ibusbus.c File src/ibusbus.c (right): http://codereview.appspot.com/4675074/diff/1/src/ibusbus.c#newcode403 src/ibusbus.c:403: bus); On 2011/07/10 15:48:03, Yusuke Sato wrote: > On ...
12 years, 11 months ago (2011-07-10 16:30:41 UTC) #4
Yusuke Sato
thanks, fixed. please take another look. On 2011/07/10 16:30:41, Peng Huang wrote: > http://codereview.appspot.com/4675074/diff/1/src/ibusbus.c > ...
12 years, 11 months ago (2011-07-11 00:43:00 UTC) #5
Peng
12 years, 11 months ago (2011-07-11 02:22:12 UTC) #6
On 2011/07/11 00:43:00, Yusuke Sato wrote:
> thanks, fixed. please take another look.
> 
> On 2011/07/10 16:30:41, Peng Huang wrote:
> > http://codereview.appspot.com/4675074/diff/1/src/ibusbus.c
> > File src/ibusbus.c (right):
> > 
> > http://codereview.appspot.com/4675074/diff/1/src/ibusbus.c#newcode403
> > src/ibusbus.c:403: bus);
> > On 2011/07/10 15:48:03, Yusuke Sato wrote:
> > > On 2011/07/10 14:55:24, Peng Huang wrote:
> > > > _connection_closed_cb callback will releases some resources. If we
> > disconnect
> > > > it, we need release them in this function.
> > > 
> > > True, but 'g_free (bus->priv->unique_name);' is already called in this
> > function.
> > > Which resources are you in mind?
> > 
> > I checked the callback.  I think we need release the GDBusConnection here at
> > least.

LGTM
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b