diff --git a/pysstv/examples/gimp-plugin.py b/pysstv/examples/gimp-plugin.py index 5a8cb6e..7962600 100755 --- a/pysstv/examples/gimp-plugin.py +++ b/pysstv/examples/gimp-plugin.py @@ -161,9 +161,8 @@ def transmit_current_image(image, drawable, mode, vox, fskid): Button(buttons, text="Close", command=tm.close).pack(side=LEFT) buttons.pack() root.mainloop() - tm.stop() - tm1750.stop() - cu.stop() + for obj in (tm, tm1750, cu): + obj.stop() finally: os.remove(png_fn)