projects
/
sdk
/
tools
/
sdk-build.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4a54629
)
[Title] fix canceling exception
author
jiil.hyoun
<jiil.hyoun@samsung.com>
Thu, 3 Jan 2013 02:14:45 +0000
(11:14 +0900)
committer
jiil.hyoun
<jiil.hyoun@samsung.com>
Thu, 3 Jan 2013 02:14:45 +0000
(11:14 +0900)
[Type] Bugfix
[Module] Toolchain /
[Priority] Minor
[Jira#]
[Redmine#] 7859
[Problem]
[Cause]
[Solution]
[TestCase]
Change-Id: I958b83f6673fc2e415aeba5c04cbbfcdcd602250
src/build_server/CommonJob.rb
patch
|
blob
|
history
diff --git
a/src/build_server/CommonJob.rb
b/src/build_server/CommonJob.rb
index 00af6c4ce7c8593036742078c0d104dbb815ea7a..5a624df4b7ffdf62edf0bd85fce979801e5898b3 100644
(file)
--- a/
src/build_server/CommonJob.rb
+++ b/
src/build_server/CommonJob.rb
@@
-186,7
+186,12
@@
class CommonJob
@sub_pid = pid
# wait for finish
- pid, status = Process.waitpid2(pid)
+ begin
+ pid, status = Process.waitpid2(pid)
+ rescue Errno::ECHILD
+ # pid is not exist
+ # do notting
+ end
@sub_pid = 0
# return