diff --git a/examples/controlnet.py b/examples/controlnet.py index 3632460..3d5dd9d 100755 --- a/examples/controlnet.py +++ b/examples/controlnet.py @@ -107,6 +107,8 @@ info( '* Stopping Data Network\n' ) net.stop() info( '* Stopping Control Network\n' ) +# dataControllers have already been stopped +cnet.hosts = list( set( cnet.hosts ) - set( dataControllers ) ) cnet.stop()