diff --git a/src/git-repository-async.js b/src/git-repository-async.js index 5e5a07ea9..f40172c69 100644 --- a/src/git-repository-async.js +++ b/src/git-repository-async.js @@ -32,6 +32,8 @@ export default class GitRepositoryAsync { } constructor (_path, options = {}) { + Git.enableThreadSafety() + this.emitter = new Emitter() this.subscriptions = new CompositeDisposable() this.pathStatusCache = {}