Commit graph

5 commits

Author SHA1 Message Date
Jesse Hallam
76ba0b57a7 configuration: ignore an empty configuration struct in setConfiguration (#21)
If the plugin leaves the configuration struct empty, go will optimize away allocations of the zero-width struct failing the `setConfiguration` check that prevents a user from introducing race conditions.
2018-11-15 14:02:55 +01:00
Jesse Hallam
75eccc0628
pull updates from demo plugin pr 2018-10-02 14:09:41 -04:00
Jesse Hallam
eb2678c625
clarify avoiding API while holding configurationLock 2018-10-01 17:18:36 -04:00
Jesse Hallam
8adb629abd
simplify configuration.Clone 2018-10-01 17:12:41 -04:00
Jesse Hallam
e1e2ca5951
MM-12193: illustrate simplified, but safe configuration handling 2018-10-01 14:16:45 -04:00