Browse Source

devicechannel: remove unneeded try/catch

bboozzoo/device-cache
Maciek Borzecki 10 years ago
parent
commit
8b0ea8373e
1 changed files with 2 additions and 7 deletions
  1. +2
    -7
      src/devicechannel.vala

+ 2
- 7
src/devicechannel.vala View File

@ -154,13 +154,8 @@ class DeviceChannel : Object {
private async void _io_ready() {
debug("check for IO");
try {
debug("try read");
this.receive.begin();
} catch (Error e) {
critical("error occurred: %d: %s", e.code, e.message);
}
debug("try read");
this.receive.begin();
}
private void handle_packet(Packet pkt) {


Loading…
Cancel
Save