Example #1
0
void ofxPd::closePatch(Patch& patch) {
	
	ofLogVerbose("Pd") << "closing patch: "+patch.filename();
	
	_LOCK();
	PdBase::closePatch(patch);
	_UNLOCK();
}	
Example #2
0
void ofxPd::closePatch(Patch& patch) {
	
	ofLog(OF_LOG_VERBOSE, "ofxPd: Closing patch: %s", patch.filename().c_str());
	
	_LOCK();
	libpd_closefile(patch.handle());
	_UNLOCK();
	patch.clear();
}