TShock/TShock — Issue #404: GetUserByName Leaking Handles to MySQL
Author: atom0s
Created: 2012-02-22 00:53:35+00:00
State: open

TShock.Users.GetUserByName seems to be leaking if called inside a plugin. The base handler:
public User GetUser(User user)

Inside the user manager doesn't cleanup the result (using statement etc.) causing the connection to stay alive. Leads to the database capping out on connections with a busy server.

(This is using the latest dev build.)