sparkstartconsulting / IBKR-API-Rust

Port of Interactive Broker's trading API written in Rust
MIT License
138 stars 41 forks source link

print issue in the decode module #25

Closed meyergin closed 3 years ago

meyergin commented 3 years ago

At the /core/decoder.rs, process_error_message uses print function which is frequently line-buffered by default, and the error info would be delayed to display at the io::stdout. And io::stdout.flush() or switch to println(), or just remove that as it can be catch at wrapper callback

sparkstartconsulting commented 3 years ago

Thanks. Looks like that was left in from debugging. I'll remove it next time I check in

sparkstartconsulting commented 3 years ago

fixed in d4e89c3