Free cookie consent management tool by TermsFeed Policy Generator

Changeset 5444 for trunk/sources


Ignore:
Timestamp:
02/05/11 03:23:51 (14 years ago)
Author:
swagner
Message:

Prevented ObjectDisposedException which was thrown in Engine when accessing an already disposed timer (#1367)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Core/3.3/Engine.cs

    r5398 r5444  
    154154      }
    155155      finally {
     156        timer.Elapsed -= new System.Timers.ElapsedEventHandler(timer_Elapsed);
    156157        timer.Stop();
    157         timer.Dispose();
    158158        ExecutionTime += DateTime.Now - lastUpdateTime;
    159159      }
Note: See TracChangeset for help on using the changeset viewer.