MCPcopy Create free account
hub / github.com/bumptop/BumpTop / abortAllUploads

Method abortAllUploads

trunk/win/Source/BT_JavaScriptAPI.cpp:208–211  ·  view source on GitHub ↗

terminate any uploads in progress

Source from the content-addressed store, hash-verified

206
207// terminate any uploads in progress
208void JavaScriptAPI::abortAllUploads()
209{
210 ftManager->removeTransfersToHandler(this);
211}
212
213// Helper function for transfers started with sendHttpPostFileUpload()
214void JavaScriptAPI::transferFinished(const FileTransfer& transfer, bool success)

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected