2b4ae91b02d0b3b42e2a634c4f432df6d20d3b7c,lib/gui/wrapper.py,FaceswapControl,terminate,#FaceswapControl#,254
Before Change
else:
print("Terminating Process...")
try:
self.process.terminate()
self.process.wait(timeout=10)
print("Terminated")
except TimeoutExpired:
print("Termination timed out. Killing Process...")
After Change
print("Killed")
else:
print("Terminating Process...")
children = psutil.Process().children(recursive=True)
for child in children:
child.terminate()
_, alive = psutil.wait_procs(children, timeout=10)
if not alive:
print("Terminated")
return
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 5
Instances
Project Name: deepfakes/faceswap
Commit Name: 2b4ae91b02d0b3b42e2a634c4f432df6d20d3b7c
Time: 2018-11-04
Author: 36920800+torzdf@users.noreply.github.com
File Name: lib/gui/wrapper.py
Class Name: FaceswapControl
Method Name: terminate
Project Name: MVIG-SJTU/AlphaPose
Commit Name: 49dd75911a6b7c40d2c49c4e2106a95c4ed08b50
Time: 2020-08-15
Author: 510641426@qq.com
File Name: scripts/demo_inference.py
Class Name:
Method Name:
Project Name: aleju/imgaug
Commit Name: 9cfbf490f89324f500230fb4961f5ead697cdae6
Time: 2017-06-08
Author: kontakt@ajung.name
File Name: imgaug/imgaug.py
Class Name: BatchLoader
Method Name: terminate