The Trunk: WebClient-Core-ul.103.mcz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

The Trunk: WebClient-Core-ul.103.mcz

commits-2
Levente Uzonyi uploaded a new version of WebClient-Core to project The Trunk:
http://source.squeak.org/trunk/WebClient-Core-ul.103.mcz

==================== Summary ====================

Name: WebClient-Core-ul.103
Author: ul
Time: 27 August 2016, 7:18:54.795729 pm
UUID: 5e538140-9049-473a-8ac0-f4b4383bb60d
Ancestors: WebClient-Core-ul.102

- fixed WebSocket00 >> #close

=============== Diff against WebClient-Core-ul.102 ===============

Item was changed:
  ----- Method: WebSocket00>>close (in category 'running') -----
  close
  "Request graceful close"
 
+ stream isConnected ifFalse: [ ^self ].
+ stream
+ nextPut: (Character value: 255);
+ nextPut: (Character value: 0);
+ flush
- stream isConnected ifTrue:[
- stream nextPut: (Character value: 255).
- stream nextPutAll: (Character value: 0).
- stream flush.
- ].
  !