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