shaka-packager/packager
KongQun Yang b17d240060 Fix a memory leak due to thread object tracking
ThreadedIoFile spawns a new thread for every new file. Thread
information is stored for tracking purpose by base::tracked_objects.
The tracking object remains even if the thread itself is destroyed.
This results in memory usage increased by a couple of bytes for every
new segment created in live mode (new segments spawns new threads).

Use WorkerPool instead to avoid spawning new threads.

Fixes Issue #61.

Change-Id: Id93283903c3ba8ebf172a0d58e19b082a72c6cf0
2016-01-08 23:41:41 +00:00
..
app Fix a memory leak due to thread object tracking 2016-01-08 23:41:41 +00:00
media Fix a memory leak due to thread object tracking 2016-01-08 23:41:41 +00:00
mpd Add version information in generated outputs 2016-01-08 19:08:56 +00:00
testing Get rid of svn dependencies 2015-10-16 20:11:20 +00:00
third_party Disable HAVE_STROPTS_H which is not available in CentOS 2015-11-17 19:55:32 +00:00
tools Add ignore file for TSan build 2015-11-13 18:57:54 +00:00
version Add version information in generated outputs 2016-01-08 19:08:56 +00:00
common.gypi Enable '-Wimplicit-fallthrough' and fix issues 2016-01-06 17:12:49 -08:00
packager.gyp Enable '-Wimplicit-fallthrough' and fix issues 2016-01-06 17:12:49 -08:00