qbittorrent/qBittorrent — pull request #1984 by paolo-sz (2014-09-30 07:27:40+00:00)
Title: Forces Windows (Vista and above) shutdown to wait qBittorrent to terminate cleanly

This pull request is related to issue #1535

Starting from Vista, Microsoft has changed the shutdown management.
This patch tries to avoid the brutal kill of qBittorrent process before its clean termination.