fcitx / mozc

Mozc - a Japanese Input Method Editor designed for multi-platform
Other
114 stars 11 forks source link

Zombie Process Prevention #46

Closed phoepsilonix closed 10 months ago

phoepsilonix commented 10 months ago

If you start and close the mozc_tool, there are cases where the zombie process remains, so prevent it.

Description

If you start and close the mozc_tool, there are cases where the zombie process remains, so prevent it.

Modified code locations

src/base/process.cc

Confirmation of the acceptable code locations

Check https://github.com/google/mozc/blob/master/CONTRIBUTING.md and confirm whether all modified files are acceptable for pull requests. "Yes"

wengxt commented 10 months ago

Please send to google/mozc instead. We don't touch any code other than src/unix/fcitx*

wengxt commented 10 months ago

actually, I think you can do something else.

use fcitx::startProcess instead of SpawnMozcProcess. SpawnProcess itself doesn't seem to be the right place to handle zombie process.