fix: avoid crash when using taesd for preview only (#1141)

This commit is contained in:
leejet
2025-12-24 23:30:12 +08:00
committed by GitHub
parent a0adcfb148
commit 860a78e248
3 changed files with 43 additions and 44 deletions

View File

@@ -105,9 +105,9 @@ struct SDSvrParams {
std::string listen_ip = "127.0.0.1";
int listen_port = 1234;
std::string serve_html_path;
bool normal_exit = false;
bool verbose = false;
bool color = false;
bool normal_exit = false;
bool verbose = false;
bool color = false;
ArgOptions get_options() {
ArgOptions options;