system/corennnnn
修订版 | dc7cf2204e8dbb2c825bad52f8504921e4a0f2b9 (tree) |
---|---|
时间 | 2016-09-28 07:59:28 |
作者 | Mark Salyzyn <salyzyn@goog...> |
Commiter | gitbuildkicker |
liblog: add android_log_close()
Bug: 30963384
(cherry picked from commit df7a4c6bae5f85532d79a93b7d9197a2aab17825)
Change-Id: Ide70df3c04e29301649a1ca234b1b0af687bcbfb
(cherry picked from commit b1b5d507cba4b37221016d308dbf9fdd39019108)
@@ -355,6 +355,9 @@ void __android_log_close() | ||
355 | 355 | #else |
356 | 356 | close(logd_fd); |
357 | 357 | logd_fd = -1; |
358 | + | |
359 | + close(pstore_fd); | |
360 | + pstore_fd = -1; | |
358 | 361 | #endif |
359 | 362 | |
360 | 363 | #ifdef HAVE_PTHREADS |