From 0332c8aab384eb9ba5f33da90f6303de10ff7781 Mon Sep 17 00:00:00 2001 From: joshaber Date: Fri, 15 Jan 2016 16:33:20 -0500 Subject: [PATCH] Enable thread safety. --- src/git-repository-async.js | 2 ++ 1 file changed, 2 insertions(+) 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 = {}