fakebts: Remove the SAPI when we receive a release request
Remove it before calling the block and sending the response. This way the callback could re-add it for force a double release.
This commit is contained in:
parent
abb65601c2
commit
c5a334ef8b
|
@ -806,6 +806,9 @@ Object subclass: LogicalChannel [
|
|||
releaseSapiRequest: aSapi [
|
||||
| rsl |
|
||||
<category: 'input'>
|
||||
"Remove the key and if no exception is generated, continue"
|
||||
sapis removeKey: aSapi.
|
||||
|
||||
onReleaseReqCB isNil
|
||||
ifFalse: [onReleaseReqCB value: aSapi].
|
||||
|
||||
|
|
Reference in New Issue