Ignore:
Timestamp:
08/29/12 16:52:22 (12 years ago)
Author:
wcaarls
Message:

Updated shared_serial to revision 1017

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/shared_serial/src/LxSerial.cpp

    r8 r12  
    455455LxSerial::~LxSerial()
    456456{
    457         // Warn when you forgot to close the port before destruction.
    458         // We CANNOT call port_close() here, because port_close is a virtual function
    459         // and virtual functions cannot be called in constructors and destructors.
    460457        if (hPort != INVALID_DEVICE_HANDLE)
    461                 printf("[LxSerial] Warning: you didn't call port_close before calling the destructor.\n");
    462 }
     458                port_close();
     459}
Note: See TracChangeset for help on using the changeset viewer.