- Timestamp:
- 01/03/22 14:09:22 (3 years ago)
- Location:
- XIOS/dev/dev_ym/XIOS_COUPLING/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/dev/dev_ym/XIOS_COUPLING/src/context_client.cpp
r2260 r2275 369 369 void CContextClient::releaseBuffers() 370 370 { 371 map<int,CClientBuffer*>::iterator itBuff;372 for (itBuff = buffers.begin(); itBuff != buffers.end(); itBuff++)373 {374 delete itBuff->second;375 }376 buffers.clear();371 //map<int,CClientBuffer*>::iterator itBuff; 372 //for (itBuff = buffers.begin(); itBuff != buffers.end(); itBuff++) 373 //{ 374 // delete itBuff->second; 375 //} 376 //buffers.clear(); 377 377 378 378 // don't know when release windows -
XIOS/dev/dev_ym/XIOS_COUPLING/src/context_server.cpp
r2273 r2275 411 411 void CContextServer::releaseBuffers() 412 412 { 413 for(auto it=buffers.begin();it!=buffers.end();++it) delete it->second ;414 buffers.clear() ;413 //for(auto it=buffers.begin();it!=buffers.end();++it) delete it->second ; 414 //buffers.clear() ; 415 415 freeWindows() ; 416 416 }
Note: See TracChangeset
for help on using the changeset viewer.