Unified · Split
| @@ -850,6 +850,7 @@ note(void *, char *s) · 849 unmodified lines | ||
| 850 | 850 | { |
| 851 | 851 | if(strncmp(s, "sys:", 4) != 0){ |
| 852 | 852 | closeallparts(); |
| 853 | + close(0); | |
| 853 | 854 | return 1; |
| 854 | 855 | } |
| 855 | 856 | |
| @@ -908,6 +909,7 @@ static void · 52 unmodified lines | ||
| 908 | 909 | rend(Srv *) |
| 909 | 910 | { |
| 910 | 911 | closeallparts(); |
| 912 | + close(0); | |
| 911 | 913 | threadexitsall(nil); |
| 912 | 914 | } |
| 913 | 915 | |