File tree 2 files changed +9
-6
lines changed
2 files changed +9
-6
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,8 @@ PBMsgPackPharoBroker class >> serializerClass [
22
22
23
23
{ #category : #private }
24
24
PBMsgPackPharoBroker >> _primHandle: dict [
25
- ^ [ self primHandle: dict ] ifCurtailed: [ ^ self ]
25
+ " Remove ifCurtailed: [ ^ self ]"
26
+ ^ self primHandle: dict
26
27
]
27
28
28
29
{ #category : #private }
@@ -128,14 +129,15 @@ PBMsgPackPharoBroker >> start [
128
129
msgStream := PBMsgPackSocketStream on: (SocketStream on: bindSocket).
129
130
[ [ true ] whileTrue: [
130
131
self _primHandle: msgStream next ] ]
131
- on: ConnectionClosed
132
- do: [ :err | " Do nothing." ] ] ] forkAt: Processor lowIOPriority.
132
+ on: Error
133
+ do: [ :err | PBPlatform current uiManager notify: err printString ] ]
134
+ ] forkAt: Processor lowIOPriority.
133
135
self preventTestForkedPDestroyServer
134
136
]
135
137
136
138
{ #category : #' start-stop' }
137
139
PBMsgPackPharoBroker >> stop [
138
- handlerThread ifNotNil: [ handlerThread terminate ].
139
140
msgStream ifNotNil: [ msgStream close ].
140
- serverSocket ifNotNil: [ serverSocket closeAndDestroy ]
141
+ serverSocket ifNotNil: [ serverSocket closeAndDestroy ].
142
+ handlerThread ifNotNil: [ handlerThread terminate ].
141
143
]
Original file line number Diff line number Diff line change 6
6
7
7
{ #category : #' as yet unclassified' }
8
8
PBPharoUiManager >> notify: aString [
9
- Warning signal : aString
9
+ Transcript show: aString asString.
10
+ super notify: aString asString.
10
11
]
11
12
12
13
{ #category : #hooks }
You can’t perform that action at this time.
0 commit comments