url-mode: fix crash when opening multiple urls with persist mode

Fixes: 051cd6ecfc
Closes #2000
This commit is contained in:
llyyr 2025-03-19 10:06:38 +05:30 committed by Daniel Eklöf
parent a02c0c8d4d
commit cc99db5bc4
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

View file

@ -85,8 +85,6 @@ spawn_url_launcher_with_token(struct terminal *term,
free(argv);
}
term->url_launch = NULL;
close(dev_null);
return ret;
}