diff options
author | Ben Clayton <bclayton@google.com> | 2015-04-27 16:59:48 +0100 |
---|---|---|
committer | Ben Clayton <bclayton@google.com> | 2015-04-27 16:59:48 +0100 |
commit | 6d6af59a9a011279c12d9a47b77d20848c989eca (patch) | |
tree | f92bdccc719b5a331fa5d157d73f340e5949f9f2 /log | |
parent | ba0299fce1c053516dce10188bc53cc360644c99 (diff) | |
download | gpu-6d6af59a9a011279c12d9a47b77d20848c989eca.tar.gz |
Add missing close() in the testing logger
Change-Id: I2cfc43c8a7f98e29b4af1671c39b9a52c0ff99c1
Diffstat (limited to 'log')
-rw-r--r-- | log/testing.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/log/testing.go b/log/testing.go index 0cb32af6f..2136dea54 100644 --- a/log/testing.go +++ b/log/testing.go @@ -31,6 +31,9 @@ func Testing(t *testing.T) Logger { case Warning, Info: t.Log(o.String()) } + + case FlushRequest: + close(o) } } }() |