mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-23 14:15:28 +00:00
Reset the 'quit' flag in virNetServerRun
To allow virNetServerRun/virNetServerQuit to be invoked multiple times, we must reset the 'quit' flag in virNetServerRun Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
This commit is contained in:
parent
be873da538
commit
3fc73cd339
@ -700,6 +700,8 @@ void virNetServerRun(virNetServerPtr srv)
|
||||
goto cleanup;
|
||||
#endif
|
||||
|
||||
srv->quit = 0;
|
||||
|
||||
if (srv->autoShutdownTimeout &&
|
||||
(timerid = virEventAddTimeout(-1,
|
||||
virNetServerAutoShutdownTimer,
|
||||
|
Loading…
Reference in New Issue
Block a user