MCPcopy Create free account
hub / github.com/amule-project/amule / Cancel

Method Cancel

src/SharedDirsApplyTask.cpp:44–52  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

42
43
44void CSharedDirsApplyTask::Cancel()
45{
46 if (IsRunning()) {
47 // wxThread::Delete on a joinable thread requests termination
48 // and waits for the worker to exit. The worker checks via
49 // TestDestroy() between directory steps and bails promptly.
50 Delete();
51 }
52}
53
54
55wxThread::ExitCode CSharedDirsApplyTask::Entry()

Callers 3

OnStateEventMethod · 0.80
StopMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected