We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e8b5467 commit 1021d4fCopy full SHA for 1021d4f
apps/devApps/StressofxOscReceiver/src/ofApp.cpp
@@ -1,6 +1,6 @@
1
#include "ofApp.h"
2
3
-#define USE_EXPLICIT_FUNCTION 1
+//#define USE_EXPLICIT_FUNCTION 1
4
5
#define INSTANTLY_OUT_OF_SCOPE 1
6
@@ -11,8 +11,9 @@ void ofApp::setup(){
11
ofSetVerticalSync(false);
12
13
#ifdef INSTANTLY_OUT_OF_SCOPE
14
- ofLogNotice("will hang");
15
- ofxOscReceiver r;
+ ofLogNotice("will hang if thread problem");
+ std::unique_ptr<ofxOscReceiver> r = std::make_unique<ofxOscReceiver>();
16
+ r = std::make_unique<ofxOscReceiver>();
17
#endif
18
ofLogNotice("ready to roll");
19
0 commit comments