Skip to content

Commit

Permalink
Enable thread safety.
Browse files Browse the repository at this point in the history
  • Loading branch information
joshaber committed Jan 15, 2016
1 parent 80a8f83 commit 0332c8a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/git-repository-async.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ export default class GitRepositoryAsync {
}

constructor (_path, options = {}) {
Git.enableThreadSafety()

this.emitter = new Emitter()
this.subscriptions = new CompositeDisposable()
this.pathStatusCache = {}
Expand Down

0 comments on commit 0332c8a

Please sign in to comment.