bts: Make sure stopped is always initialized
When connecting to a wrong hostname the 'stopped' variable might not be assigned.
This commit is contained in:
parent
d8fac3b071
commit
deb0ecdb00
|
@ -69,6 +69,18 @@ Object subclass: BTSConnectionBase [
|
|||
to the BSC'>
|
||||
<import: Osmo>
|
||||
|
||||
BTSConnectionBase class >> new [
|
||||
<category: 'creation'>
|
||||
^ super new
|
||||
initialize;
|
||||
yourself.
|
||||
]
|
||||
|
||||
initialize [
|
||||
<category: 'creation'>
|
||||
stopped := false.
|
||||
]
|
||||
|
||||
btsId: anId [
|
||||
<category: 'creation'>
|
||||
btsId := anId
|
||||
|
|
Reference in New Issue