mirror of
https://github.com/php/php-src.git
synced 2024-12-19 15:00:15 +08:00
Improve cleanup
The persistent connection locks the file which might prevent deletion.
This commit is contained in:
parent
19592519c2
commit
41c69766a4
@ -12,7 +12,11 @@ function _test() { return 42; }
|
||||
$db->sqliteCreateFunction('test', '_test', 0);
|
||||
print("Everything is fine, no exceptions here\n");
|
||||
unset($db);
|
||||
@unlink($dbfile);
|
||||
?>
|
||||
--CLEAN--
|
||||
<?php
|
||||
$dbfile = __DIR__ . '/test.sqlite';
|
||||
unlink($dbfile);
|
||||
?>
|
||||
--EXPECT--
|
||||
Everything is fine, no exceptions here
|
||||
|
Loading…
Reference in New Issue
Block a user