1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 11:28: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:
Andreas Kling 2021-05-23 08:48:59 +02:00
parent 6ebec090c3
commit de07dab184
4 changed files with 0 additions and 9 deletions

View file

@ -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()

View file

@ -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()) {

View file

@ -26,7 +26,6 @@ public:
virtual void die() override;
private:
virtual void greet() override;
virtual Messages::ImageDecoderServer::DecodeImageResponse decode_image(Core::AnonymousBuffer const&) override;
};

View file

@ -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)
}