mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice
synced 2025-12-30 09:46:50 +00:00
spice client: fixed missing AutoRef
This commit is contained in:
parent
ec34856fea
commit
2e4d709805
@ -328,7 +328,8 @@ void RedClient::on_connecting()
|
||||
|
||||
void RedClient::on_connect()
|
||||
{
|
||||
push_event(new ConnectedEvent());
|
||||
AutoRef<ConnectedEvent> event(new ConnectedEvent());
|
||||
push_event(*event);
|
||||
_migrate.add_channel(new MigChannel(RED_CHANNEL_MAIN, 0, get_common_caps(),
|
||||
get_caps()));
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user