mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-17 05:43:51 +02:00
v2019.08.19
This commit is contained in:
10
SQLite.cs
10
SQLite.cs
@@ -29,11 +29,6 @@ namespace VRCX
|
||||
m_Lock.EnterWriteLock();
|
||||
try
|
||||
{
|
||||
if (m_Connection.State != ConnectionState.Open)
|
||||
{
|
||||
m_Connection.Close();
|
||||
m_Connection.Open();
|
||||
}
|
||||
using (var C = new SQLiteCommand(sql, m_Connection))
|
||||
{
|
||||
if (param != null)
|
||||
@@ -57,11 +52,6 @@ namespace VRCX
|
||||
m_Lock.EnterReadLock();
|
||||
try
|
||||
{
|
||||
if (m_Connection.State != ConnectionState.Open)
|
||||
{
|
||||
m_Connection.Close();
|
||||
m_Connection.Open();
|
||||
}
|
||||
using (var C = new SQLiteCommand(sql, m_Connection))
|
||||
{
|
||||
if (param != null)
|
||||
|
||||
Reference in New Issue
Block a user