restore dispose for new abstract node and fboUsages since a lot of not yet
refactored nodes use the old fbo system but all dag nodes
have been ported to this NewAbstractNode
@@ -205,14 +205,13 @@ protected FBO requiresFbo(FBOConfig fboConfig, BaseFBOsManager fboManager) {
* are also disposed.
*/
@Override
- public void dispose() { /** Dispose of data in connection maps
- for (Map.Entry<String,DependencyConnection > entry : inputConnections.entrySet()) {
+ public void dispose() {
+ for (Map.Entry<SimpleUri, BaseFBOsManager> entry : fboUsages.entrySet()) {
SimpleUri fboName = entry.getKey();
- DependencyConnection connection = entry.getValue();
- connection.FboDatarelease(fboName);
+ BaseFBOsManager baseFBOsManager = entry.getValue();
+ baseFBOsManager.release(fboName);
}
-
- inputConnections.clear();*/
+ fboUsages.clear();
}
/**
