Skip to content
This repository has been archived by the owner on Oct 4, 2021. It is now read-only.

Commit

Permalink
[VersionControl] Added an disposed check to DedicatedOperationFactory
Browse files Browse the repository at this point in the history
  • Loading branch information
mkrueger committed Nov 8, 2019
1 parent 33fc0e2 commit bda0363
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,8 @@ DedicatedThreadScheduler GitScheduler {

TaskFactory DedicatedOperationFactory {
get {
if (rootRepository == null)
throw new ObjectDisposedException ("This object is disposed.");
if (dedicatedOperationFactory == null)
dedicatedOperationFactory = new TaskFactory (GitScheduler);
return dedicatedOperationFactory;
Expand Down

0 comments on commit bda0363

Please sign in to comment.