trying to fix mantis #1711.
parent
3b9cf65234
commit
eec67d7402
|
@ -503,11 +503,18 @@ namespace OpenSim.Region.Environment.Modules.Avatar.Chat
|
||||||
public void Reconnect()
|
public void Reconnect()
|
||||||
{
|
{
|
||||||
m_connected = false;
|
m_connected = false;
|
||||||
listener.Abort();
|
try
|
||||||
pingSender.Abort();
|
{
|
||||||
m_writer.Close();
|
listener.Abort();
|
||||||
m_reader.Close();
|
pingSender.Abort();
|
||||||
m_tcp.Close();
|
m_writer.Close();
|
||||||
|
m_reader.Close();
|
||||||
|
m_tcp.Close();
|
||||||
|
}
|
||||||
|
catch (Exception)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
if (m_enabled)
|
if (m_enabled)
|
||||||
{
|
{
|
||||||
Connect(m_last_scenes);
|
Connect(m_last_scenes);
|
||||||
|
|
Loading…
Reference in New Issue