diff options
author | Joey Hess <joeyh@joeyh.name> | 2017-10-25 19:46:28 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2017-10-25 19:46:28 -0400 |
commit | b06bb6a14ed99c273b1909d2328937595e3b3504 (patch) | |
tree | 2a2d4a47710c38e04b58afcbd08009eecb5d331b /Assistant/TransferSlots.hs | |
parent | 48503d747011befb10f01a1ee4097ddc93103d20 (diff) |
terminateProcessId renamed
win32 upstream suggested a better name
Diffstat (limited to 'Assistant/TransferSlots.hs')
-rw-r--r-- | Assistant/TransferSlots.hs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Assistant/TransferSlots.hs b/Assistant/TransferSlots.hs index 74453004d..c0d464e41 100644 --- a/Assistant/TransferSlots.hs +++ b/Assistant/TransferSlots.hs @@ -41,7 +41,7 @@ import qualified Control.Concurrent.MSemN as MSemN import System.Posix.Process (getProcessGroupIDOf) import System.Posix.Signals (signalProcessGroup, sigTERM, sigKILL) #else -import System.Win32.Process (terminateProcessId) +import System.Win32.Process (terminateProcessById) #endif type TransferGenerator = Assistant (Maybe (Transfer, TransferInfo, Transferrer -> Assistant ())) @@ -270,7 +270,7 @@ cancelTransfer pause t = do threadDelay 50000 -- 0.05 second grace period signal sigKILL #else - terminateProcessId pid + terminateProcessById pid #endif {- Start or resume a transfer. -} |