Skip to content
This repository has been archived by the owner on Jun 25, 2019. It is now read-only.

Commit

Permalink
[Truffle] Enabling coverage needs to be synchronised or starting it c…
Browse files Browse the repository at this point in the history
…ould race.
  • Loading branch information
chrisseaton committed May 1, 2016
1 parent 65ca155 commit b831fce
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -63,7 +63,7 @@ public synchronized void setLineHasCode(LineLocation line) {
}

@CompilerDirectives.TruffleBoundary
public void enable() {
public synchronized void enable() {
if (enabled) {
return;
}
Expand Down

0 comments on commit b831fce

Please sign in to comment.