mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 03:57:44 +00:00
WebDriver: Remove the WebContent socket file when closing the session
Otherwise it is left on disk forever.
This commit is contained in:
parent
956fa84f12
commit
cbbaf8ea2c
3 changed files with 14 additions and 11 deletions
|
@ -39,7 +39,7 @@ public:
|
|||
|
||||
private:
|
||||
using ServerPromise = Core::Promise<ErrorOr<void>>;
|
||||
ErrorOr<NonnullRefPtr<Core::LocalServer>> create_server(DeprecatedString const& socket_path, NonnullRefPtr<ServerPromise> promise);
|
||||
ErrorOr<NonnullRefPtr<Core::LocalServer>> create_server(NonnullRefPtr<ServerPromise> promise);
|
||||
|
||||
NonnullRefPtr<Client> m_client;
|
||||
Web::WebDriver::LadybirdOptions m_options;
|
||||
|
@ -48,6 +48,7 @@ private:
|
|||
unsigned m_id { 0 };
|
||||
|
||||
RefPtr<WebContentConnection> m_web_content_connection;
|
||||
Optional<DeprecatedString> m_web_content_socket_path;
|
||||
Optional<pid_t> m_browser_pid;
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue