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

Issue 4344061: Fix a crash during creating IBusProxy asynchronously (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
13 years ago by Peng
Modified:
13 years ago
Reviewers:
Yusuke Sato
CC:
satorux
Base URL:
git@github.com:ibus/ibus.git@master
Visibility:
Public.

Description

Fix a crash during creating IBusProxy asynchronously BUG=chromium-os:13629 TEST=Linux desktop

Patch Set 1 #

Total comments: 4

Patch Set 2 : Update #

Unified diffs Side-by-side diffs Delta from patch set Stats (+210 lines, -19 lines) Patch
M src/ibusbus.c View 2 chunks +13 lines, -0 lines 0 comments Download
M src/ibusproxy.c View 4 chunks +84 lines, -19 lines 0 comments Download
M src/tests/.gitignore View 1 1 chunk +1 line, -0 lines 0 comments Download
M src/tests/Makefile.am View 1 2 chunks +4 lines, -0 lines 0 comments Download
A src/tests/ibus-inputcontext-create.c View 1 1 chunk +108 lines, -0 lines 0 comments Download

Messages

Total messages: 3
Peng
13 years ago (2011-04-04 15:11:41 UTC) #1
Yusuke Sato
LGTM. The change itself looks good to me but please check my comments below. http://codereview.appspot.com/4344061/diff/1/src/ibusbus.c ...
13 years ago (2011-04-05 05:11:58 UTC) #2
Peng
13 years ago (2011-04-05 14:08:35 UTC) #3
http://codereview.appspot.com/4344061/diff/1/src/ibusbus.c
File src/ibusbus.c (right):

http://codereview.appspot.com/4344061/diff/1/src/ibusbus.c#newcode564
src/ibusbus.c:564: * The connection is closed, can not contine next steps, so
complete
On 2011/04/05 05:11:58, Yusuke Sato wrote:
> Isn't it possible to add a test to src/tests/ for the "connection is closed"
> case?

I added two test cases, but seems it is difficult to test the connections closed
case.

http://codereview.appspot.com/4344061/diff/1/src/ibusproxy.c
File src/ibusproxy.c (right):

http://codereview.appspot.com/4344061/diff/1/src/ibusproxy.c#newcode164
src/ibusproxy.c:164: * When proxy is created asynchronously, the connection may
be closed
On 2011/04/05 05:11:58, Yusuke Sato wrote:
> ditto.

Done.
Sign in to reply to this message.

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