summaryrefslogtreecommitdiffstats
path: root/src/opengl/qgl_egl.cpp
diff options
context:
space:
mode:
authorMorten Johan Sørvig <morten.sorvig@nokia.com>2010-01-12 08:05:13 (GMT)
committerMorten Johan Sørvig <morten.sorvig@nokia.com>2010-01-12 08:05:13 (GMT)
commit705ebaea0d81c76c97e7230f0acbe85442981555 (patch)
tree0689841ffbb512333154b51149ce42ce1e948adb /src/opengl/qgl_egl.cpp
parent58112b1e251c03b0a72511508712f9a67ce84d25 (diff)
downloadQt-705ebaea0d81c76c97e7230f0acbe85442981555.zip
Qt-705ebaea0d81c76c97e7230f0acbe85442981555.tar.gz
Qt-705ebaea0d81c76c97e7230f0acbe85442981555.tar.bz2
Add an autorelease pool to QApplication instance.
This will catch releases done between creating the QApplication object and calling QApplication::exec. (The Cocoa event loop creates release pools for us when it's running.) The memory used by the objects stored in this pool won't be released until the QApplication instance is deleted at application exit. Because of this it still makes sense to still add local release pools when doing potentially large allocations.
Diffstat (limited to 'src/opengl/qgl_egl.cpp')
0 files changed, 0 insertions, 0 deletions