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'>
|
to the BSC'>
|
||||||
<import: Osmo>
|
<import: Osmo>
|
||||||
|
|
||||||
|
BTSConnectionBase class >> new [
|
||||||
|
<category: 'creation'>
|
||||||
|
^ super new
|
||||||
|
initialize;
|
||||||
|
yourself.
|
||||||
|
]
|
||||||
|
|
||||||
|
initialize [
|
||||||
|
<category: 'creation'>
|
||||||
|
stopped := false.
|
||||||
|
]
|
||||||
|
|
||||||
btsId: anId [
|
btsId: anId [
|
||||||
<category: 'creation'>
|
<category: 'creation'>
|
||||||
btsId := anId
|
btsId := anId
|
||||||
|
|
Reference in New Issue