User Profile

Collapse

Profile Sidebar

Collapse
juniornet
juniornet
Last Activity: May 16 '09, 02:10 PM
Joined: May 16 '09
Location: Medellin, Colombia
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • juniornet
    replied to C#, Application does not terminate
    in .NET
    Aborting Thread

    I also use database access but with Enterprise Library 4. I think it'll be good no to worry and let this framework take care of any thread issues. That's why I didn't create any custom event handlers for closing threads. I've never needed it.

    I noticed yesterday that when I use

    Code:
    Thread.CurrentThread.Abort();
    it doesn't caused me problem and problems in debug mode, but when...
    See more | Go to post

    Leave a comment:


  • juniornet
    replied to C#, Application does not terminate
    in .NET
    What's the best statement to close threaded application and release memory?



    Hi

    I also have problems with my c# application which manages threads and sockets connections. I noticed that when I press close for running Application.Exi t(), the program keeps on memory.

    So I decided to put

    Code:
    Process.GetCurrentProcess().Kill();
    it seemed to work pretty well. After...
    See more | Go to post

    Leave a comment:

No activity results to display
Show More
Working...