summaryrefslogtreecommitdiffhomepage
path: root/test/util/signal_util.cc
diff options
context:
space:
mode:
authorYong He <chenglang.hy@antfin.com>2019-12-15 11:20:12 +0800
committerYong He <chenglang.hy@antfin.com>2019-12-16 18:28:10 +0800
commit8a46e83111c70c7ee81368dd4e9df53559213fa0 (patch)
treeabdb377df177eb507f73bfcd9563d62beb7e31dc /test/util/signal_util.cc
parent6b424530397e5100b08628efe8f6c62178daa70b (diff)
Fix UDS bind cause fd leak in gofer
After the finalizer optimize in 76039f895995c3fe0deef5958f843868685ecc38 commit, clientFile needs to closed before finalizer release it. The clientFile is not closed if it is created via gofer.(*inodeOperations).Bind, this will cause fd leak which is hold by gofer process. Fixes #1396 Signed-off-by: Yong He <chenglang.hy@antfin.com> Signed-off-by: Jianfeng Tan <henry.tjf@antfin.com>
Diffstat (limited to 'test/util/signal_util.cc')
0 files changed, 0 insertions, 0 deletions