mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 13:48:12 +00:00
ImageDecoder: Remove unnecessary greet() message
This didn't do anything except induce an IPC stall during startup.
This commit is contained in:
parent
6ebec090c3
commit
de07dab184
4 changed files with 0 additions and 9 deletions
|
@ -12,7 +12,6 @@ namespace ImageDecoderClient {
|
|||
Client::Client()
|
||||
: IPC::ServerConnection<ImageDecoderClientEndpoint, ImageDecoderServerEndpoint>(*this, "/tmp/portal/image")
|
||||
{
|
||||
handshake();
|
||||
}
|
||||
|
||||
void Client::die()
|
||||
|
@ -23,7 +22,6 @@ void Client::die()
|
|||
|
||||
void Client::handshake()
|
||||
{
|
||||
greet();
|
||||
}
|
||||
|
||||
void Client::dummy()
|
||||
|
|
|
@ -30,10 +30,6 @@ void ClientConnection::die()
|
|||
exit(0);
|
||||
}
|
||||
|
||||
void ClientConnection::greet()
|
||||
{
|
||||
}
|
||||
|
||||
Messages::ImageDecoderServer::DecodeImageResponse ClientConnection::decode_image(Core::AnonymousBuffer const& encoded_buffer)
|
||||
{
|
||||
if (!encoded_buffer.is_valid()) {
|
||||
|
|
|
@ -26,7 +26,6 @@ public:
|
|||
virtual void die() override;
|
||||
|
||||
private:
|
||||
virtual void greet() override;
|
||||
virtual Messages::ImageDecoderServer::DecodeImageResponse decode_image(Core::AnonymousBuffer const&) override;
|
||||
};
|
||||
|
||||
|
|
|
@ -1,6 +1,4 @@
|
|||
endpoint ImageDecoderServer
|
||||
{
|
||||
greet() => ()
|
||||
|
||||
decode_image(Core::AnonymousBuffer data) => (bool is_animated, u32 loop_count, Vector<Gfx::ShareableBitmap> bitmaps, Vector<u32> durations)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue