]> git.tdb.fi Git - libs/core.git/commitdiff
Synchronize access to the underlying object of Slice
authorMikko Rasa <tdb@tdb.fi>
Sun, 19 Oct 2014 13:33:01 +0000 (16:33 +0300)
committerMikko Rasa <tdb@tdb.fi>
Sun, 19 Oct 2014 14:25:15 +0000 (17:25 +0300)
This was prompted by the interactions between GL::ResourceManager and
some upcoming changes to DataFile::PackSource.  If a new Slice object is
created and tries to connect to signal_flush_required at the exact moment
another Slice is seeking and causing the signal to be emitted, the emit
and connect calls step on each others' toes and corrupt the heap.


No differences found