mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-23 11:39:26 +08:00
Don't let tee_file own a stream
Right now, tee_file owns the second stream it writes to. This is done for the convenience of the users. In a subsequent patch, this will no longer be convenient, so this patch moves the responsibility for ownership to the users of tee_file.
This commit is contained in:
@ -41,6 +41,7 @@ private:
|
||||
ui_file *log;
|
||||
ui_file *targ;
|
||||
ui_file *targerr;
|
||||
ui_file_up tee_to_delete;
|
||||
ui_file_up file_to_delete;
|
||||
ui_file_up log_to_delete;
|
||||
};
|
||||
|
Reference in New Issue
Block a user