mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-27 12:50:09 +00:00
Bug 1504073 - Close output stream for flushing JS coverage data after we're done writing. r=froydnj
--HG-- extra : rebase_source : b7dfc0c21419a8fa24831d2d5346cccc8de176b9 extra : source : a85127941344e9a18610eabd3c0bc10a0a8efd93
This commit is contained in:
parent
6c82d39b64
commit
b70c36e059
@ -77,6 +77,9 @@ void CodeCoverageHandler::FlushCounters()
|
||||
length -= n;
|
||||
}
|
||||
|
||||
rv = outputStream->Close();
|
||||
MOZ_ASSERT(NS_SUCCEEDED(rv));
|
||||
|
||||
free(result);
|
||||
|
||||
printf_stderr("[CodeCoverage] JS flush completed.\n");
|
||||
|
Loading…
x
Reference in New Issue
Block a user