Regular quit needs to clean the ports two ()

This commit is contained in:
pavel-shirshov 2019-09-27 14:49:44 -07:00 committed by GitHub
parent ecdd866713
commit ff7ef851d5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -108,11 +108,11 @@ index 9dc85b5..679da49 100644
+ teamd_refresh_ports(ctx);
+ if (ctrl_byte == 'w')
+ teamd_ports_flush_data(ctx);
+ /* Flush ports to destroy port object */
+ err = teamd_flush_ports(ctx);
+ if (err)
+ return err;
+ }
+
+ err = teamd_flush_ports(ctx);
+ if (err)
+ return err;
quit_in_progress = true;
continue;
case 'r':