History

Let's actually close our sessios on exit.

Andrzej Kapolka committed 12 years ago

Commit 9a892ea1 parent 1e4bfff3 files · +8 −1Browse files

Showing the changes to interface/src/MetavoxelSystem.cpp (1 of 3 files). Show all

Unified · Split

interface/src/MetavoxelSystem.cpp+6−0
@@ -24,6 +24,12 @@ MetavoxelSystem::MetavoxelSystem() : · 23 unmodified lines
2424 _buffer(QOpenGLBuffer::VertexBuffer) {
2525 }
2626
27+MetavoxelSystem::~MetavoxelSystem() {
28+ for (QHash<QUuid, MetavoxelClient*>::const_iterator it = _clients.begin(); it != _clients.end(); it++) {
29+ delete it.value();
30+ }
31+}
32+
2733 void MetavoxelSystem::init() {
2834 if (!_program.isLinked()) {
2935 switchToResourcesParentIfRequired();

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t