Skip to content

Commit a53e1c7

Browse files
committed
Reset isEmulated property after store emulation is stopped
The missing reset lead to bugs in tests and is a possible cause for more bugs
1 parent 8a9cd47 commit a53e1c7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/app/code/community/IntegerNet/Solr/Model/Bridge/StoreEmulation.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ public function stop()
5858

5959
if ($this->_isEmulated && $this->_initialEnvironmentInfo) {
6060
Mage::getSingleton('core/app_emulation')->stopEnvironmentEmulation($this->_initialEnvironmentInfo);
61+
$this->_isEmulated = false;
6162
}
6263
}
6364

0 commit comments

Comments
 (0)