smalltalk
/
osmo-st-gsm
Archived
1
0
Fork 0

sccp: Set the timer to nil to give up references

Help the garbage collector free memory more quickly by not
producing that many circles.
This commit is contained in:
Holger Hans Peter Freyther 2014-03-14 17:59:30 +01:00
parent 0c26b1e048
commit 15be4f4af2
1 changed files with 6 additions and 6 deletions

View File

@ -203,12 +203,12 @@ My timeout values can be seen in ITU Q.714 Annex C.4'>
<category: 'private'>
sem critical: [
t_conn_est ifNotNil: [t_conn_est cancel].
t_ias ifNotNil: [t_ias cancel].
t_iar ifNotNil: [t_iar cancel].
t_rel ifNotNil: [t_rel cancel].
t_repeat_rel ifNotNil: [t_repeat_rel cancel].
t_int ifNotNil: [t_int cancel].
t_conn_est ifNotNil: [t_conn_est cancel. t_conn_est := nil].
t_ias ifNotNil: [t_ias cancel. t_ias := nil].
t_iar ifNotNil: [t_iar cancel. t_iar := nil].
t_rel ifNotNil: [t_rel cancel. t_rel := nil].
t_repeat_rel ifNotNil: [t_repeat_rel cancel. t_repeat_rel := nil].
t_int ifNotNil: [t_int cancel. t_int := nil].
]
]