File tree Expand file tree Collapse file tree 1 file changed +0
-6
lines changed Expand file tree Collapse file tree 1 file changed +0
-6
lines changed Original file line number Diff line number Diff line change @@ -59,17 +59,12 @@ class StreamCopyT {
59
59
60
60
// / Ends the processing
61
61
void end () {
62
- if (is_cleanup_from) {
63
- delete this ->from ;
64
- is_cleanup_from = false ;
65
- }
66
62
this ->from = nullptr ;
67
63
this ->to = nullptr ;
68
64
}
69
65
70
66
// / assign a new output and input stream
71
67
void begin (Print &to, Stream &from){
72
- is_cleanup_from = true ;
73
68
this ->from = &from;
74
69
this ->to = &to;
75
70
begin ();
@@ -368,7 +363,6 @@ class StreamCopyT {
368
363
int (*availableCallback)(Stream*stream)=nullptr ;
369
364
void *onWriteObj = nullptr ;
370
365
bool is_first = false ;
371
- bool is_cleanup_from = false ;
372
366
bool check_available_for_write = false ;
373
367
bool check_available = true ;
374
368
const char * actual_mime = nullptr ;
You can’t perform that action at this time.
0 commit comments