mirror of
https://git.gfz-potsdam.de/naaice/iphreeqc.git
synced 2025-12-16 16:44:49 +01:00
May need to free rate even if Form has not started.
Revised ex8 to use two charts. Changed RXN to give value for ADVECTION and TRANSPORT states, in addition to REACTION state. Reset point_added to false in time1_Tick. Changed NA value to -98.765 to avoid conflict with -10 for axis scale. git-svn-id: svn://136.177.114.72/svn_GW/phreeqcpp/trunk@5370 1feff8c3-07ed-0310-ac33-dd36852eb9cd
This commit is contained in:
parent
99f7eab602
commit
5af51e0c96
@ -135,6 +135,7 @@ ChartHandler::End_timer(PHREEQC_PTR_ARG)
|
||||
// }
|
||||
//}
|
||||
size_t i = 0;
|
||||
it->second->Rate_free();
|
||||
if (it->second->Get_form_started())
|
||||
{
|
||||
while (0 != System::Threading::Interlocked::Exchange(it->second->usingResource, 1) && i < max_tries)
|
||||
@ -143,7 +144,6 @@ ChartHandler::End_timer(PHREEQC_PTR_ARG)
|
||||
System::Threading::Thread::Sleep(1);
|
||||
}
|
||||
it->second->Set_end_timer(true);
|
||||
it->second->Rate_free();
|
||||
System::Threading::Interlocked::Exchange(it->second->usingResource, 0);
|
||||
|
||||
size_t i2 = 0;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user