[Marble-devel] windows handles

Konrad Enzensberger e.konrad at mpegcode.com
Tue Apr 24 08:44:42 UTC 2012


Hi,

did some more investigation about windows handle problem.
Starting marble without the CashRunner plugin,
we have ~ 500 handles.
Starting with the CashRunner, we have ~ 22.000 handles.

like reported yesterday, this is because each call to:
GeoDataPlacemark *placemark = 0;
placemark = new GeoDataPlacemark;

creates new handles.
Problem is the QMutex m_mutex member from GeoDataRegion_p.h .
Without this member, we have ~500 handles, regardless if we run with or without the CashRunner.

I can not see, why we need a mutex there, can someone switch a light on to me?

br, konrad
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/marble-devel/attachments/20120424/07b52977/attachment.html>


More information about the Marble-devel mailing list