1
0
Fork 0

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:
Holger Hans Peter Freyther 2012-11-24 23:33:19 +01:00
parent abb65601c2
commit c5a334ef8b
1 changed files with 3 additions and 0 deletions

View File

@ -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].