Fix checking handles 91/168191/1
authorJunghoon Park <jh9216.park@samsung.com>
Thu, 25 Jan 2018 01:52:40 +0000 (10:52 +0900)
committerJunghoon Park <jh9216.park@samsung.com>
Thu, 25 Jan 2018 01:52:40 +0000 (10:52 +0900)
commit60fa4e6711585e85e71eb874779e45917a06e7f9
treec4a2b6648cb58268f9de453673b39b2fb1ce270c
parentb2dac66b34cae6908dc2a4631010cbcc7d855c36
Fix checking handles

- IntPtr should be checked by IntPtr.Zero because it is value type
- Add an exception handler to avoid invalid type at 'Listen' method

Change-Id: I6f5613e6d27050e3b0c314ff5c24e0c6f9ff5303
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
idlc/cs_gen/cs_gen_base.cc
idlc/cs_gen/cs_proxy_gen.cc
idlc/cs_gen/cs_stub_gen.cc