diff options
| author | 2018-10-17 20:00:04 +0800 | |
|---|---|---|
| committer | 2018-10-19 08:28:55 +0000 | |
| commit | b584c6eb8cd43d8fc566626a633e3c0b6e33d7de (patch) | |
| tree | f601ea75bbb9c60f51478b04fc86777278322b0c /libs/hwui/TextureCache.cpp | |
| parent | 1b59a1673a676b5b2a5d36034bce791061723a90 (diff) | |
Fix FD leak during ADB shell install.
Temp fileBridge never closed before remove from bridge list,
it will cause socket FD leak during ADB install.
Improvements:
Call FileBridge#forceClose() to close FD.
Test:
1.PMS install and un-install work normal.
2.Socket FD in system_server process not increase during ADB install.
BUG: 117965848
Change-Id: I29951095f66f069263f944787875e22b666e7467
Diffstat (limited to 'libs/hwui/TextureCache.cpp')
0 files changed, 0 insertions, 0 deletions