1
0
Fork 0

termination: When writing is failing attempt to clean things as well

This commit is contained in:
Holger Hans Peter Freyther 2011-06-20 09:44:55 +02:00
parent 527a29ced2
commit 4457adffb2
1 changed files with 7 additions and 2 deletions

View File

@ -69,7 +69,9 @@ Object subclass: IPAConnection [
]
on: SystemExceptions.FileError do: [:e | ^ false ]
on: SystemExceptions.EndOfStream do: [:e | ^ false ]
]
].
sccp linkSetFailed.
]
drainSendQueue [
@ -84,7 +86,10 @@ Object subclass: IPAConnection [
send: aMsg with: aType [
muxer nextPut: aMsg with: aType.
self drainSendQueue.
[
self drainSendQueue.
] on: SystemExceptions.FileError do: [:e | sccp linkSetFailed ]
on: SystemExceptions.EndOfStream do: [:e | sccp linkSetFailed ]
]
sccpHandler [