termination: When writing is failing attempt to clean things as well
This commit is contained in:
parent
527a29ced2
commit
4457adffb2
|
@ -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 [
|
||||
|
|
Reference in New Issue