Skip to content

Commit

Permalink
Revert "Use InheritableThreadLocal for event data passthrough"
Browse files Browse the repository at this point in the history
This reverts commit d2b6492.
  • Loading branch information
freya022 committed Nov 18, 2023
1 parent 7c2a8c8 commit fc66c5f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

public abstract class SocketHandler
{
public static final InheritableThreadLocal<DataObject> CURRENT_EVENT = new InheritableThreadLocal<>();
public static final ThreadLocal<DataObject> CURRENT_EVENT = new ThreadLocal<>();

protected final JDAImpl api;
protected long responseNumber;
Expand Down

0 comments on commit fc66c5f

Please sign in to comment.