It should be called before exit can happen. This restores reverted commit 4d636fa3.
Attach a file by drag & drop or click to upload