osmo: Fix the creation of the OsmoAppConnection
Move the variable into the right method.
This commit is contained in:
parent
189471a586
commit
6c8b36319b
|
@ -83,6 +83,7 @@ TODO: re-use the IPADispatcher across connections.'>
|
|||
|
||||
|
||||
initializeDispatcher [
|
||||
| ipa |
|
||||
"Allow another class to register handlers"
|
||||
dispatcher := IPADispatcher new.
|
||||
dispatcher initialize.
|
||||
|
@ -130,7 +131,6 @@ TODO: re-use the IPADispatcher across connections.'>
|
|||
|
||||
connect [
|
||||
<category: 'connect'>
|
||||
| ipa |
|
||||
socket ifNotNil: [socket close].
|
||||
socket := self createConnection: hostname port: port.
|
||||
writeQueue := SharedQueue new.
|
||||
|
|
Reference in New Issue