Skip to content

Commit

Permalink
Rename InterruptThread to StopRequested
Browse files Browse the repository at this point in the history
  • Loading branch information
cdhowie committed Jan 3, 2013
1 parent f9673e0 commit a2d19f0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Cdh.Toolkit.Services/ThreadedService.cs
Expand Up @@ -73,13 +73,13 @@ public virtual void Stop()
threadCopy = thread; threadCopy = thread;


ThreadRunning = false; ThreadRunning = false;
InterruptThread(); StopRequested();
} }


threadCopy.Join(); threadCopy.Join();
} }


protected virtual void InterruptThread() protected virtual void StopRequested()
{ {
thread.Interrupt(); thread.Interrupt();
} }
Expand Down

0 comments on commit a2d19f0

Please sign in to comment.