use threadexits instead of exits
1 file changed