beagle r3239 - in trunk/beagle: Util beagled



Author: joeshaw
Date: 2007-01-09 22:16:31 +0000 (Tue, 09 Jan 2007)
New Revision: 3239
ViewCVS link: http://svn.gnome.org/viewcvs/beagle?rev=3239&view=rev

Modified:
   trunk/beagle/Util/ExceptionHandlingThread.cs
   trunk/beagle/beagled/QueryExecutor.cs
   trunk/beagle/beagled/Server.cs
Log:
Reset some variables back to null to make the GC's job easier and
profiling more straightforward.

In Util/ExceptionHandlingThread.cs, reset the method and thread
variables.

In beagled/Server.cs, reset the thread variable.  This may fix a leak,
since thread is the thread-static CurrentThread value.

In beagled/QueryExecutor.cs, reset the QueryResult (result) and Query
(query) variables.






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]