]> git.tdb.fi Git - libs/core.git/commitdiff
Remove signal_closed now that closing is only done in the destructor
authorMikko Rasa <tdb@tdb.fi>
Fri, 5 Aug 2011 15:04:07 +0000 (18:04 +0300)
committerMikko Rasa <tdb@tdb.fi>
Fri, 5 Aug 2011 15:04:07 +0000 (18:04 +0300)
source/io/base.h
source/io/file.cpp
source/io/pipe.cpp

index 700dae7646180266d5393991e2b4d799ac7c1d2c..61819cfe8144c782dae9e8749d971c3f336aa641 100644 (file)
@@ -24,9 +24,6 @@ public:
        seeked) and any data buffered by upper layers needs to be flushed. */
        sigc::signal<void> signal_flush_required;
 
-       /** Emitted when the I/O object has closed. */
-       sigc::signal<void> signal_closed;
-
        /** Emitted when the object is deleted.  Mainly for use by
        EventDispatcher. */
        sigc::signal<void> signal_deleted;
index 90326093b8b643751446d83658a4b2583dbf3fbb..dacc5d7c0ea47b1edd5449555633b75dc9382013 100644 (file)
@@ -88,7 +88,6 @@ File::~File()
 {
        signal_flush_required.emit();
        sys_close(handle);
-       signal_closed.emit();
 }
 
 void File::set_block(bool b)
index b52c2bcb33131e02fc2a0d28f39aabc3e3e62593..c011cef54f86d6e8fb2adac02e6869e8e0422ef3 100644 (file)
@@ -47,7 +47,6 @@ Pipe::~Pipe()
        signal_flush_required.emit();
        sys_close(handle[0]);
        sys_close(handle[1]);
-       signal_closed.emit();
 }
 
 void Pipe::set_block(bool b)