Ignore:
Timestamp:
05/18/17 19:27:26 (4 years ago)
Author:
oabramkina
Message:

Fixing a bug in context finalization. Now context finalization is done in two stages.
Tested on Cure with test_regular and test_xios2_cmip6.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/dev/dev_olga/src/server.cpp

    r1133 r1139  
    319319       while(!stop) 
    320320       { 
    321  
    322321         if (isRoot) 
    323322         { 
     
    588587     { 
    589588       bool isFinalized ; 
    590  
    591589       map<string,CContext*>::iterator it ; 
    592590 
     
    596594         if (isFinalized) 
    597595         { 
    598            it->second->postFinalize(); 
     596//           it->second->postFinalize(); 
    599597           contextList.erase(it) ; 
    600598           break ; 
    601599         } 
    602600         else 
    603          { 
    604            isFinalized=it->second->checkBuffersAndListen(); 
    605          } 
     601           it->second->checkBuffersAndListen(); 
    606602       } 
    607603     } 
Note: See TracChangeset for help on using the changeset viewer.