fcitx / mozc

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

Zombie Process Prevention #46

Closed phoepsilonix closed 1 year ago

phoepsilonix commented 1 year 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 1 year ago

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

wengxt commented 1 year 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.