diff options
| author | Austin Hellyer <[email protected]> | 2016-11-06 12:06:03 -0800 |
|---|---|---|
| committer | Austin Hellyer <[email protected]> | 2016-11-06 12:06:03 -0800 |
| commit | ca55fbf8616c767c5c8593a768d07289731d573a (patch) | |
| tree | 8383a12ad8401f63ee177a0016dc724aa05e9c96 /examples/06_command_framework.rs | |
| parent | Fix typo in example 06 (diff) | |
| download | serenity-ca55fbf8616c767c5c8593a768d07289731d573a.tar.xz serenity-ca55fbf8616c767c5c8593a768d07289731d573a.zip | |
Fix framework locking on MessageCreate dispatch
The framework will lock on checking if it's initialized, and will not
be able to unlock a second time from within the same scope. Fix this
by unlocking it once and binding it.
Diffstat (limited to 'examples/06_command_framework.rs')
0 files changed, 0 insertions, 0 deletions