Avatarchik / lidgren-network-gen3

Automatically exported from code.google.com/p/lidgren-network-gen3
0 stars 0 forks source link

No Abort Thread in shutdown method for netpeer class #3

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Ive noticed that when I shutdown my project i these messages

A first chance exception of type 'System.Threading.ThreadAbortException' 
occurred in DreamForgeCore.exe
An exception of type 'System.Threading.ThreadAbortException' occurred in 
DreamForgeCore.exe but was not handled in user code

I stepped through code and noticed there is no m_networkthread.abort() in 
the shutdown method not sure if this is whats caussing that error gonna 
test it now with a patch of my own and post results.

Original issue reported on code.google.com by santos_s...@hotmail.com on 19 May 2010 at 11:20

GoogleCodeExporter commented 8 years ago
Nevermind I am sorry it was my mistake on how threading is used. i fixed my 
end. 
great job ob lidgren btw. I was using .abort which is suppposely bad. Guess 
lesson 
learned google stuff before making acquisitions.

Original comment by santos_s...@hotmail.com on 20 May 2010 at 12:35

GoogleCodeExporter commented 8 years ago
Network thread will keep going until m_status changes from Running

Original comment by lidg...@gmail.com on 20 May 2010 at 4:57