Changeset 4168 for trunk/gui/scripts/visviewer.tcl
- Timestamp:
- Feb 4, 2014 1:17:38 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gui/scripts/visviewer.tcl
r4108 r4168 453 453 set _done($this) 1 454 454 set _buffer(out) $bytes 455 fileevent $_sid writable [itcl::code $this SendHelper] 456 tkwait variable ::Rappture::VisViewer::_done($this) 455 if {1} { 456 # Let's try this approach: allow a write to block so we don't 457 # re-enter SendBytes 458 SendHelper 459 } else { 460 # This can cause us to re-enter SendBytes during the tkwait, which 461 # is not safe because the _buffer will be clobbered 462 fileevent $_sid writable [itcl::code $this SendHelper] 463 tkwait variable ::Rappture::VisViewer::_done($this) 464 } 457 465 set _buffer(out) "" 458 466 if { [IsConnected] } {
Note: See TracChangeset
for help on using the changeset viewer.