diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-07-18 17:50:24 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-07-21 08:41:11 +0100 |
commit | 1cfefc8b0f5337c256597c4312517227124dd2e6 (patch) | |
tree | 808c8a63d0df44db21306b04f17d1784bc79ad65 /bitbake/lib/bb/cooker.py | |
parent | 4602408c69132315c3784718fe4ce155b12464cf (diff) | |
download | poky-1cfefc8b0f5337c256597c4312517227124dd2e6.tar.gz |
bitbake: cookerdata/cooker: Restore original datastore upon client disconnect
(Bitbake rev: 67ae612ab890965357d24a9bd35610cf813b79ba)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/cooker.py')
-rw-r--r-- | bitbake/lib/bb/cooker.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bitbake/lib/bb/cooker.py b/bitbake/lib/bb/cooker.py index e27763ecab..daffe67540 100644 --- a/bitbake/lib/bb/cooker.py +++ b/bitbake/lib/bb/cooker.py | |||
@@ -1566,6 +1566,8 @@ class BBCooker: | |||
1566 | def clientComplete(self): | 1566 | def clientComplete(self): |
1567 | """Called when the client is done using the server""" | 1567 | """Called when the client is done using the server""" |
1568 | self.finishcommand() | 1568 | self.finishcommand() |
1569 | self.databuilder.reset() | ||
1570 | self.data = self.databuilder.data | ||
1569 | 1571 | ||
1570 | def server_main(cooker, func, *args): | 1572 | def server_main(cooker, func, *args): |
1571 | cooker.pre_serve() | 1573 | cooker.pre_serve() |