Enable thread safety.

This commit is contained in:
joshaber
2016-01-15 16:33:20 -05:00
parent 80a8f83f04
commit 0332c8aab3

View File

@@ -32,6 +32,8 @@ export default class GitRepositoryAsync {
}
constructor (_path, options = {}) {
Git.enableThreadSafety()
this.emitter = new Emitter()
this.subscriptions = new CompositeDisposable()
this.pathStatusCache = {}