Bug 2447 – There's no disconnectall for std.signals

Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
phobos
Product
D
Version
D2
Platform
x86
OS
Windows
Creation time
2008-11-10T11:34:26Z
Last change time
2017-12-18T22:55:57Z
Keywords
bootcamp, trivial
Assigned to
Eduard Staniloiu
Creator
david
Depends on
9347

Comments

Comment #0 by davidl — 2008-11-10T11:34:26Z
It's useful sometimes for having a disconnectall
Comment #1 by jfanatiker — 2013-01-18T04:05:09Z
implemented in std.signals2, see: 9347
Comment #2 by andrei — 2015-11-03T19:16:29Z
Is this applicable to D2?
Comment #3 by lt.infiltrator — 2015-11-16T02:35:31Z
I don't see why not. You can connect multiple slots, so it can be useful to disconnect them all at once. Is there even a way to get a list of slots?
Comment #4 by github-bugzilla — 2017-10-27T00:51:30Z
Commits pushed to master at https://github.com/dlang/phobos https://github.com/dlang/phobos/commit/f0d2655d7535ae16fd681679d75b4c42014348c9 Fix issue 2447 - add disconnectAll for std.signals https://github.com/dlang/phobos/commit/b5e6365a9bb9e0ca3af194d7add212c092ad1b13 Merge pull request #5812 from edi33416/signals_disconnectall Fix issue 2447 - add disconnectAll for std.signals merged-on-behalf-of: Andrei Alexandrescu <[email protected]>
Comment #5 by github-bugzilla — 2017-12-18T22:55:57Z
Commits pushed to stable at https://github.com/dlang/phobos https://github.com/dlang/phobos/commit/f0d2655d7535ae16fd681679d75b4c42014348c9 Fix issue 2447 - add disconnectAll for std.signals https://github.com/dlang/phobos/commit/b5e6365a9bb9e0ca3af194d7add212c092ad1b13 Merge pull request #5812 from edi33416/signals_disconnectall