aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2013-04-29 12:45:32 +0200
committerHolger Hans Peter Freyther <zecke@selfish.org>2013-04-29 12:45:32 +0200
commit6c8b36319bc45c7bc3f55b1d42a2f754ea41ab18 (patch)
treecc0fccf671b30ed2c618e20161dd39fced39dd09
parent189471a5866dbeb80317c8f4c22098da56b6d805 (diff)
osmo: Fix the creation of the OsmoAppConnection
Move the variable into the right method.
-rw-r--r--osmo/OsmoAppConnection.st2
1 files changed, 1 insertions, 1 deletions
diff --git a/osmo/OsmoAppConnection.st b/osmo/OsmoAppConnection.st
index b1647e2..06b61c7 100644
--- a/osmo/OsmoAppConnection.st
+++ b/osmo/OsmoAppConnection.st
@@ -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.