Skip to content

Commit

Permalink
nixd: join boost threads to prevent exit early
Browse files Browse the repository at this point in the history
  • Loading branch information
inclyc committed May 27, 2023
1 parent cd8db5c commit 393dad5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/nixd/include/nixd/Server.h
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,8 @@ class Server : public lspserver::LSPServer {
}
void onHover(const lspserver::TextDocumentPositionParams &,
lspserver::Callback<llvm::json::Value>);

~Server() override { Pool.join(); }
};

}; // namespace nixd

0 comments on commit 393dad5

Please sign in to comment.